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
Verification Process
Cannot disable hibernation in Vista
How can I create a distribution list in Gmail? I have followed the steps that they have given, but am still unable to create a Gmail distribution list
Macro not found error
button width: changed from IE6 to IE7 and now button length is very large
Populate Table from Multiple Calculated Field on a Form in Access
Charting A Series
How to Launch an application after a VS Setup & Deployment project has "Finished" ?
Excel formula to calculate Downside Deviation from monthly return data
Exchange 2007 - Multiple SMTP email address policies