Microsoft
Software
Hardware
Network
Question : C# 3.0 - Generic Bulk Copy
Hi,
I would like a bulk copy (efficient insert for millions of rows) to be used asynchronously to copy a dataset (generic data, not typed)
to a similar DataTable in SQL Server (which HAS TO be created dynamically according to the dataset).
Once both are mapped, bulk copy should work!!
Anyone has already made such a code?
Is there a better way to do it in c# 3.0?
Thanks in advance,
Answer : C# 3.0 - Generic Bulk Copy
I imagine you would have to manually create the table beforehand from the dataset metadata, then use :
http://msdn.microsoft.com/
en-us/libr
ary/
system
.data.sqlc
lient.sqlb
ulkcopy.as
px
Random Solutions
Text control on Access form - double click highlights word
How to restore a database?
Doing a VLOOKUP in a pivot table???
How to filter a CurrentDb.OpenRecordset?
NetBIOS name resolution failing
How do I restore a Mirror in SQL Server 2005 when it is in a "Unsynchronized Disconnected / In Recovery" state?
Please HELP!!!
SQL Code for Date Concatenating
base class undefined?
Remote Desktop to XP PC - connection drops briefly