|
-
Nov 24th, 2005, 01:41 AM
#1
Thread Starter
Fanatic Member
please give me coding
hi,
before going to my thread i want to tell one thing,if i asking something no one is giving response to my thread,please don't do like that,i am getting disappoinment from not answering.take this as my request and please give response to my thread.
my thread is as follows:
i retreived the feilds in my datagrid to my textboxes by pressing the retreive button
now i have four buttons such as first,next,last,previous
if i press next button the nextrecord which is in the grid has to be selected and the relevent filed for that record has to display in the relevent textboxes.
likewise for previous,last,first
give me coding to do that
-
Nov 24th, 2005, 03:03 AM
#2
Hyperactive Member
Re: please give me coding
The people here are helping each other out out of the goodness of there hearts. To tell us you are disappointed AND demand code, is it any wonder you dont get any replys.
Last edited by user name; Nov 24th, 2005 at 03:07 AM.
-
Nov 24th, 2005, 03:08 AM
#3
Re: please give me coding
Look at the 101 Samples at the top of this thread. The ADO examples do what you want. And, you should ASK for help, rather than demanding it.
-
Nov 24th, 2005, 10:21 AM
#4
Re: please give me coding
The reason you don't get responses is because you keep posting a new thread with the same question every time. After we answer it, you don't look back at it. It's as if... youv'e lost the thread.
I'll ask someone to merge these threads.
Meanwhile, I had mentioned earlier than you can do something like this:
TextBox1.Text = ds.Tables(0).Rows(i).Item(0).ToString()
Here, 'i' is a variable which you are to declare in your form at the beginning... set it to 0. Increment or decrement this variable in the button's click events. This allows you to move through the dataset. This is just one option.
You have been given other answers too:
http://www.vbforums.com/showthread.php?t=371321
-
Nov 24th, 2005, 10:36 AM
#5
Re: please give me coding
karthikeyan,
You have been told about this before - keep all questions about a topic in a single thread, and do not create new threads just because you have not got the answer that you want. If you have any questions about this then please PM me, or another Mod/Admin of this site.
This thread is now closed.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|