Datagrid Question

saidev

Active member
Joined
Dec 22, 2005
Messages
27
Programming Experience
1-3
Hi Guys,
I have a data grid with 4 columns and i have 4 textboxes in a webform. when i select a datagrid row it should display the that row values in the 4 text boxes. how to do this in vb.net?
can you guys help me with code..?
Thanks,
 
Data Binding

Is the datagrid bound to a dataset? I could be as simple as binding the textboxes to the fields of the same dataset.

If not, you should look into Datagrid events to trigger updating the textboxes when something happens, 'like the datagrid row changes' or 'Mouseup in the datagrid'.
 
Back
Top