Click here to Skip to main content
15,895,011 members
Home / Discussions / C#
   

C#

 
AnswerRe: Time values in datagrid Pin
Mandaar Kulkarni1-Oct-07 0:33
Mandaar Kulkarni1-Oct-07 0:33 
QuestionMSBuild command line Pin
Abhi Lahare30-Sep-07 20:23
Abhi Lahare30-Sep-07 20:23 
AnswerRe: MSBuild command line Pin
Mandaar Kulkarni30-Sep-07 21:11
Mandaar Kulkarni30-Sep-07 21:11 
GeneralRe: MSBuild command line Pin
Abhi Lahare1-Oct-07 0:07
Abhi Lahare1-Oct-07 0:07 
Questionproblem with System.OutOfMemoryException Pin
Super Lloyd30-Sep-07 20:21
Super Lloyd30-Sep-07 20:21 
AnswerRe: problem with System.OutOfMemoryException Pin
Martin#30-Sep-07 21:47
Martin#30-Sep-07 21:47 
GeneralRe: problem with System.OutOfMemoryException Pin
Super Lloyd1-Oct-07 13:24
Super Lloyd1-Oct-07 13:24 
QuestionSQL Problem. Pin
Janu_M30-Sep-07 20:03
Janu_M30-Sep-07 20:03 
Hi,

I am developing a C# windows application(.net 2003).

The functionality of this application is to import all the records from a csv file to a table in a SQL Server 2000.

For this i am opening a sql connection and I am using Sql command. Here i set sqlcommand timeout to 500.
I am using a for loop to insert each record into sql table. After finishing all records i am closing and disposing sql connection.

This is working fine.

For some tables it is necessary to get primary key from another table and insert that primary key along with the current table's data.

For extracting that primary key i wrote funtion. This function opens a new sql connection and sql command having timeout 500.
After fetching data i am disposing that sql connection.

This funtion is called for each record in the csv file.

After inserting approximately 200 records it is giving an Exception Message
"Timeout Expired. The timeout period elapsed prior to obtaining a connection form the pool. This may have occured because all pooled connections were in use and max pool size was reached".

How to overcome this problem. It's urgent

Any one please help me.
Thanks in Advance.

Ramu
AnswerRe: SQL Problem. Pin
N a v a n e e t h30-Sep-07 20:29
N a v a n e e t h30-Sep-07 20:29 
GeneralRe: SQL Problem. Pin
Janu_M1-Oct-07 2:01
Janu_M1-Oct-07 2:01 
AnswerRe: SQL Problem. Pin
Andrei Ungureanu30-Sep-07 21:26
Andrei Ungureanu30-Sep-07 21:26 
GeneralRe: SQL Problem. Pin
Janu_M1-Oct-07 2:02
Janu_M1-Oct-07 2:02 
QuestionDelete/Remove any particular File from any particular Folder/Direcotory Pin
M Riaz Bashir30-Sep-07 19:55
M Riaz Bashir30-Sep-07 19:55 
AnswerRe: Delete/Remove any particular File from any particular Folder/Direcotory Pin
Tamimi - Code30-Sep-07 20:01
Tamimi - Code30-Sep-07 20:01 
GeneralRe: Delete/Remove any particular File from any particular Folder/Direcotory Pin
M Riaz Bashir30-Sep-07 20:23
M Riaz Bashir30-Sep-07 20:23 
QuestionAccessing controls form class file problem Pin
rakeshpckm30-Sep-07 19:42
rakeshpckm30-Sep-07 19:42 
AnswerRe: Accessing controls form class file problem Pin
N a v a n e e t h30-Sep-07 20:06
N a v a n e e t h30-Sep-07 20:06 
QuestionFinding functions with no reference Pin
N a v a n e e t h30-Sep-07 19:19
N a v a n e e t h30-Sep-07 19:19 
AnswerRe: Finding functions with no reference Pin
Christian Graus30-Sep-07 19:29
protectorChristian Graus30-Sep-07 19:29 
GeneralRe: Finding functions with no reference Pin
N a v a n e e t h30-Sep-07 19:44
N a v a n e e t h30-Sep-07 19:44 
QuestionExit application Pin
sonigirish30-Sep-07 19:07
sonigirish30-Sep-07 19:07 
AnswerRe: Exit application Pin
N a v a n e e t h30-Sep-07 19:21
N a v a n e e t h30-Sep-07 19:21 
GeneralRe: Exit application Pin
sonigirish30-Sep-07 20:00
sonigirish30-Sep-07 20:00 
GeneralRe: Exit application Pin
N a v a n e e t h30-Sep-07 20:08
N a v a n e e t h30-Sep-07 20:08 
GeneralRe: Exit application Pin
sonigirish30-Sep-07 20:18
sonigirish30-Sep-07 20:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.