why we use DataRow when we enter data in Gird
myRow = myTable.NewRow();
myRow[colNum] = myValue;
myTable.Rows.Add(myRow);
We dont pick directly from DataGrid;
Printable View
why we use DataRow when we enter data in Gird
myRow = myTable.NewRow();
myRow[colNum] = myValue;
myTable.Rows.Add(myRow);
We dont pick directly from DataGrid;
Because that table is the datagrid's datasource, so you'd obviously need to work with the datasource and then let the datagrid pick it up.