Best practice to update rows in other tables?

  • Thread starter Thread starter Don Huan
  • Start date Start date
D

Don Huan

Hi,
I'm relatively new to ADO.NET, so here is my question:

What is the best way to get the some data from various tables and write it
to other table?

Say, I want to show some info on the winform from the table1, table2 and
table3. What's the simplest way to write these infos to the table "table4"?

Thank you!

Don
 
Hi Don,

Are you talking about tables in a database or DataTables in a DataSet? In a
case of the tables in a database, best way is just to use INSERT SQL
statement. In a case of DataTables, check ImportRow method of the DataTable
 
Back
Top