Hello,
I need to copy every row in 1 dataset to a second dataset. The below code segment is pretty much what I need to do
private DataSet dsGroup(DataSet SourceDS)
DataSet TargetDS = new DataSet();
foreach (DataRow row1 in SourceDS.Tables[0].Select(
"Kounter=1
"))
{
// Add every row in SourceDS to TargetDS
}
return TargetDS;
}
Do I need to define every column in Target or can I copy the whole row with the same datastructure of SourceDS?
Thank You
Chuck
Start Free Trial