This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Dear all,
Suppost I have a datatable with 10 record. Now I want to edit the 7th record in the datatable. How can I go to the 7th row and edit the colomn data in 7th row.
Thanks.
datatable[6]["YourColumnName"]= "TheSeventRowHasIndexNumberSix";
Maybe something like that
Datatable dt = new datatable();
dt.selectedrow= 7.
dt.selectedrow("column1") = "abc";
dt.selectedrow("column2") = "def";