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
How to show line numbers in a query and add new records
DateDiff Minute GetDate Between C# vs SQL
need a step by step on how to setup Reverse DNS for Exchange mail server.
XP start wltrysvcs.exe file not found
Port Forwarding
Making Network connections (to Windows and Linux 'shares') persistent between reboots
Can Twitter track the originating IP Address?
Interactive Sorting with drill-down groups collapses group when sorting
sp_detach_db
SQL express 2005 - create a DB admin equivalent user account