当两个dataset ds1和ds2结构相同时,

ds1.Merge(ds2,true,MissingSchemaAction.AddWithKey);

这样ds2就合并至ds1中了。

posted @ 2009-02-18 11:42 PuserChen 阅读(395) 评论(0) 编辑