S
suzy
hi im trying to copy a row from one dataset table to another dataset table.
i tried the following but it says the row belongs to another table. any
idea what im doing wrong, or if its possible?
//both datasets have been initiablised earlier
DataRow oNewRow = oDataSet.Tables["Orders"].Rows[0];
oDataSet2.Tables["Order"].Rows.Add (oNewRow);
i tried the following but it says the row belongs to another table. any
idea what im doing wrong, or if its possible?
//both datasets have been initiablised earlier
DataRow oNewRow = oDataSet.Tables["Orders"].Rows[0];
oDataSet2.Tables["Order"].Rows.Add (oNewRow);