I know that I can add a column onto a datatable, with a value of Confirm,
by....
dt.Columns.Add("Confirm", Type.GetType("System.String"), "'Confirm'")
... but what if I just want to make that a default value that can then be
edited.
If I try
dt.columns("Confirm").readonly=false then I'm told that I can't do that with
an expression column. I also know that I can just add the column without
the expression and then loop through the rows setting the value... but that
seems very inefficient. Is there a better way of specifying an expression
for a column that will just act as an editable default value?
Thanks.