C# .NET - step by step process Bulk insert

Asked By sri on 03-Apr-13 06:38 AM
Hi to All,

i want to insert bulk records from my code. i have a datatable it contains n records in it . i want to insert these data into my table through store procedure.

 any one plz give me step by step process
Danasegarane Arunachalam replied to sri on 03-Apr-13 01:31 PM
Refer SQL Bulk Copy class from MSDN : http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlbulkcopy.aspx