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);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top