DataSet.Merge(DataRow)

  • Thread starter Thread starter scott mesick
  • Start date Start date
S

scott mesick

would someone please post an example of how this works?

"Merges an array of DataRow objects into the current DataSet" from MSDN but
an example would be great!

TIA.
 
Hi scott,

There is a general sample for merge which merges two tables.
You could change the Merge line into:
ds.Merge(new DataRow[]{t2.Rows[0],
t2.Rows[1]},false,MissingSchemaAction.Add);
 
Back
Top