hi can any one tell ,how to edit datgrid rows
Printable View
hi can any one tell ,how to edit datgrid rows
Don't edit the grid. Assuming it is bound to a DataTable you should edit the table contents. For instance, to edit the row that is selected in the grid:You can also get at the row via the CurrencyManager but I've never really done that so I won't try to say how.vb Code:
Dim data As DataRow = myDataTable.DefaultView(myDataGrid.CurrentRowIndex).Row