visual studio 2010 - how to copy three table data into one access c# -


i want 1 master table keep track of information want copy 3 data of 3 different tables of same database. have table1 ,table2 , table3 , want copy in 1 table master_table using c# 3.5. please .

if tables have same structure can directly merge them

dtall = dtone.copy(); dtall.merge(dttwo); dtall.merge(dtthree); 

else, if have different structure 3 table can add them dataset.

dataset dsall = new dataset(); dsall.tables.add(dtone); dsall.tables.add(dttwo); dsall.tables.add(dtthree); 

Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -