Click here to Skip to main content
15,887,821 members
Home / Discussions / Database
   

Database

 
GeneralConnecting to a remote SQL Server in WinXP SP2 Pin
Majid Shahabfar28-Jun-05 6:36
Majid Shahabfar28-Jun-05 6:36 
GeneralRe: Connecting to a remote SQL Server in WinXP SP2 Pin
agmb28-Jun-05 20:45
agmb28-Jun-05 20:45 
GeneralRe: Connecting to a remote SQL Server in WinXP SP2 Pin
Mattias Olgerfelt29-Jun-05 4:52
Mattias Olgerfelt29-Jun-05 4:52 
GeneralRe: join chage help Pin
andyharman28-Jun-05 5:15
professionalandyharman28-Jun-05 5:15 
GeneralRe: join chage help Pin
Mohammad Daba'an28-Jun-05 20:36
Mohammad Daba'an28-Jun-05 20:36 
GeneralRe: join chage help Pin
Colin Angus Mackay29-Jun-05 2:48
Colin Angus Mackay29-Jun-05 2:48 
GeneralRe: join chage help Pin
Mattias Olgerfelt29-Jun-05 5:00
Mattias Olgerfelt29-Jun-05 5:00 
Generalquestion about connections to a sql server Pin
metalsandman28-Jun-05 3:51
metalsandman28-Jun-05 3:51 
i have the following code:

while(true)
{
Thread.Sleep(delay);
SqlConnection connection = new SqlConnection;
connection.Open();
'some code here'
connection.Close();
}

i'm wondering how many sqlconnection will be made? after a while is it possible to get an "System.NullRefferenceException: Object not set to an instance of an object"(probably because the new connections are instantiated, but never disposed)?

thanks.

MetalSandman.
GeneralRe: question about connections to a sql server Pin
Colin Angus Mackay28-Jun-05 4:41
Colin Angus Mackay28-Jun-05 4:41 
GeneralCrystal Report Threw internal Exception Pin
agmb28-Jun-05 3:37
agmb28-Jun-05 3:37 
GeneralForce SELECT to return a single row Pin
BinaryHead28-Jun-05 0:59
BinaryHead28-Jun-05 0:59 
GeneralRe: Force SELECT to return a single row Pin
Colin Angus Mackay28-Jun-05 1:17
Colin Angus Mackay28-Jun-05 1:17 
GeneralRe: Force SELECT to return a single row Pin
P A N K A J28-Jun-05 17:48
P A N K A J28-Jun-05 17:48 
GeneralGet file name using SQL Pin
Wilbur J. Pereira28-Jun-05 0:16
Wilbur J. Pereira28-Jun-05 0:16 
QuestionSpecified cast is not valid? Pin
WetRivrRat27-Jun-05 13:36
WetRivrRat27-Jun-05 13:36 
AnswerRe: Specified cast is not valid? Pin
Christian Graus27-Jun-05 19:58
protectorChristian Graus27-Jun-05 19:58 
GeneralRe: Specified cast is not valid? Pin
WetRivrRat28-Jun-05 13:04
WetRivrRat28-Jun-05 13:04 
GeneralRe: Specified cast is not valid? Pin
Christian Graus28-Jun-05 13:18
protectorChristian Graus28-Jun-05 13:18 
GeneralRe: Specified cast is not valid? Pin
WetRivrRat28-Jun-05 13:33
WetRivrRat28-Jun-05 13:33 
GeneralRe: Specified cast is not valid? Pin
WetRivrRat28-Jun-05 14:32
WetRivrRat28-Jun-05 14:32 
GeneralRe: Specified cast is not valid? Pin
Christian Graus28-Jun-05 14:55
protectorChristian Graus28-Jun-05 14:55 
GeneralRe: Specified cast is not valid? Pin
WetRivrRat28-Jun-05 15:52
WetRivrRat28-Jun-05 15:52 
GeneralRe: Specified cast is not valid? Pin
Christian Graus28-Jun-05 17:07
protectorChristian Graus28-Jun-05 17:07 
GeneralRe: Specified cast is not valid? Pin
WetRivrRat28-Jun-05 17:13
WetRivrRat28-Jun-05 17:13 
GeneralRe: Specified cast is not valid? Pin
WetRivrRat28-Jun-05 17:14
WetRivrRat28-Jun-05 17:14 

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.