populating textboxes based on current record in datagrid
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
the columns in my datagrid are Code, Company, Address (based on a table in the database). the datagrid is bound to a SQL statement. is it possible that when i either: (1)highlight a record, and press a command button and text boxes in another form will be populated relating to each of these columns (ie in the second form, i would have textboxes for Code, Company and Address) (2)double-click on a record (ie row) and the textboxes will be populated? i am very unsure of how to reference rows and columns and cells in datagrids so this is why i am asking this question. Any help would be much appreciated!