DataSet ds1=GetDataSet1();
DataSet ds2=GetDataSet2();
ds1.Merge(ds2,true,MissingSchemaAction.AddWithKey);
return ds1;
//ds1就是合并后的DataSet了
DataSet ds1=GetDataSet1();
DataSet ds2=GetDataSet2();
ds1.Merge(ds2,true,MissingSchemaAction.AddWithKey);
return ds1;
//ds1就是合并后的DataSet了