Anu A

Anu A

  • NA
  • 29
  • 22k

place data to the grid into the row from where I had selected

Feb 21 2009 1:43 AM
Hai
       me with C#.net 2.0 windows application, in one of my forms I have a datagridview control with 3 columns and a button to edit. when the edit button is clicked the corresponding row is removed from the grid and is loaded in 3 text boxes and after editing its added back to the grid. How can I add the data to the corresponding row index from where the data is selected for editing
ie, If the grid has 3 rows and I had selected the 2nd row after editing how can I place it back in the second row of the grid