HighTechTalks DotNet Forums  

C# application takes a long time to run

Dotnet Academic General Discussions microsoft.public.dotnet.academic


Discuss C# application takes a long time to run in the Dotnet Academic General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
rkherath
 
Posts: n/a

Default C# application takes a long time to run - 04-04-2007 , 04:06 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
--
rkherath

Reply With Quote
  #2  
Old   
pvdg42
 
Posts: n/a

Default Re: C# application takes a long time to run - 04-04-2007 , 08:14 AM







"rkherath" <rkherathdisscussdotnet (AT) yahoo (DOT) com> wrote

Quote:
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
--
rkherath
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




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.