hi
I have the codes for the save,delete and update button but I need the codes for first,prev,last and next can you please help. please
chloie
0
Newbie Poster
Recommended Answers
Jump to Postshow your effort friend..
Jump to Postyou can try this.
dim tableadapter as new dataTable dim position as integer = 0 'for the first record position = 0 textbox1.text = tableadapter.rows(position)("yourfield").tostring() ' for next record if tableadapter.rows.count > 0 then position = posiiton +1 textbox1.text = tableadapter.rows(position)("yourfield").tostring() ' for previous record if tableadapter.rows.count …
All 5 Replies
Jx_Man
987
Nearly a Senior Poster
Featured Poster
cyberdaemon
1
Light Poster
cyberdaemon
1
Light Poster
laurince.portacio
0
Newbie Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.