Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
11-16-2004, 10:06 PM #1
- Join Date
- Oct 2004
- Thanked 0 Times in 0 Posts
vb.net creating a ds binding it to a datagrid and text boxes with navigation
ok this might be complicated but bare with me.
I have a datagrid bound to a dataset, as well as some textboxes and labels (they are bound to the same ds) I also have buttons on the bottom of the datagrid that click through the dataset and changes the cursor in the datagrid while also changing the values in the textboxes. However i also have a search feature that searches through the dataset and displays the results in the datagrid. Once you search it still binds the datagrid, but the textboxes and labels lose the binding.
I then bound the text boxes in the datagrid_click function useing a datarowview, but once i do that i am not sure how to get the buttons to work.
So what is the best way to bind a datagrid and as you click some buttons on the form it will go to the next, previous, last, and first values.