Groups | Blog | Home
all groups > dotnet academic > april 2007 >

dotnet academic : C# application takes a long time to run


rkherath
4/4/2007 1:06:04 AM
Hi,

I have a program which runs without any error. What it does it reading
records from a dBase table and write in sql tables. I have 112*8 tables to
reads. and fill in to 8 sql tables. it has more than 1000000 records. it
takes more than 5 hours to run.

i want ot make my application faster. please help me.

regards
--
pvdg42
4/4/2007 7:14:49 AM

[quoted text, click to view]

Look into Bulk Insert. Here are a couple of links to get you started.

http://msdn2.microsoft.com/en-us/library/ms188365.aspx

http://msdn2.microsoft.com/en-us/library/ms188609.aspx

http://msdn2.microsoft.com/en-us/library/ms175937.aspx

AddThis Social Bookmark Button