B
Brett Romero
Is there a way to update data in a DataTable cell? I have column dates
that are string type. I want to add another column to this table:
dt.Columns.Add(new DataColumn("Datecolumn2", typeof(DateTime)));
Then loop through the table adding all of the string dates to the same
row but in the new DateTime typed column, which allows me to sort by
date when I feed a Datagrid this table.
How do I update a single cell in a DataTable?
Thanks,
Bretta
that are string type. I want to add another column to this table:
dt.Columns.Add(new DataColumn("Datecolumn2", typeof(DateTime)));
Then loop through the table adding all of the string dates to the same
row but in the new DateTime typed column, which allows me to sort by
date when I feed a Datagrid this table.
How do I update a single cell in a DataTable?
Thanks,
Bretta