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
server 2003 activation
Disable save a copy in Outlook 2003's Sent folder when sending out emails
Exchange 2003 to 2007 mailbox move problem
Access 2003 report to print labels
sql cluster - moving tempdb
Adding value to list box
WHERE clause with DLookup
Count Distinct
Cannot connect new Windows 7 client to the domain
Windows SharePoint Services 3 Event ID 8214