Hi Loungers,
I have this line of code which works:
this.clientDS.Tables[“Contacts”].ImportRow(row);
I have a lot of tables where I want to import a row, so I just want to pass a table into a method, like so:
private void CopyDataTable(DataTable dataTable)
{
some code here
this.calloutDS.Tables(dataTable.TableName.ToString()).ImportRow(row);
}
any suggestions greatly appreciated.