I have a datagrid view dg1 with 3 columns in it from form F1.
when i select a row in datagrid and click on button called modify, another form F2 pops up with 3 text boxes and all these 3 text boxes are filled by the values in the columns of the selected row of datagrid.
Thanks
Bechir BejaouiPosted Mar 2, 2009, 2:26 PM
define an a static array within this class in which cells' values will be stored
Then you stock all those cells values within this array, afterward you assign each of this array elements to its corresponding text box in the F2