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
Internal OWA
From My Computer, when I double click on My Computer and then the C Drive I am asked to choose a program to use
Remote Desktop has no sound At Client - Error C00D11BA
Set rowcount inside a Schaduled Job
Windows MCE 2005 - Using S-Video with WinTV PVR-150 WITHOUT detecting IR controller for Cable STB
How do OEM OS reinstallation CDs determine serial numbers without user input?
403 Access Forbidden from IIS webserver
Generate an autonumber that I can then overwrite
Run-Time Error 91: Using VBA to populate Excel template from Access Queries
Exchange Growth 3 GB overnight