J
Jim Lawton
DataTable is dt, filled already and with keys defined, uid, seq etc, suitable
variables ...
object[] newRow = new object[5];
newRow[0] = uid;
newRow[1] = seq;
newRow[2] = text;
newRow[3] = type;
newRow[4] = data;
dt.LoadDataRow(newRow,false);
DataRow newRow = dt.NewRow();
newRow["uid"] = uid;
newRow["seq"] = seq;
any suggestions for achieving the required effect - loading data without
hardwiring the column positions?
Cheers
Jim
variables ...
object[] newRow = new object[5];
newRow[0] = uid;
newRow[1] = seq;
newRow[2] = text;
newRow[3] = type;
newRow[4] = data;
dt.LoadDataRow(newRow,false);
DataRow newRow = dt.NewRow();
newRow["uid"] = uid;
newRow["seq"] = seq;
any suggestions for achieving the required effect - loading data without
hardwiring the column positions?
Cheers
Jim