Hi, I have a question about the datarow and how I can update it...
I have a datatable with two columns, id and name. I do the following:
// data table has data at this point....
myTable.Columns.Add("Fri");
foreach(DataRow r in myTable.Rows) {
r["Fri"] = 4;
}
What I am trying to do here is add a new columnm, "Fri". Then for each entry already in the data table I want to have the value in column Fri as 4. Thanks for the help.