Click here to Skip to main content
15,916,835 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# & things I can put in XML? Pin
TrooperIronMan15-Jan-07 13:08
TrooperIronMan15-Jan-07 13:08 
AnswerRe: C# & things I can put in XML? Pin
Guffa15-Jan-07 13:06
Guffa15-Jan-07 13:06 
GeneralRe: C# & things I can put in XML? Pin
TrooperIronMan15-Jan-07 13:10
TrooperIronMan15-Jan-07 13:10 
GeneralRe: C# & things I can put in XML? Pin
Christian Graus15-Jan-07 13:21
protectorChristian Graus15-Jan-07 13:21 
GeneralRe: C# & things I can put in XML? Pin
TrooperIronMan16-Jan-07 8:37
TrooperIronMan16-Jan-07 8:37 
QuestionQuery Access Database too slow! Why? Pin
deanpugh15-Jan-07 6:04
deanpugh15-Jan-07 6:04 
AnswerRe: Query Access Database too slow! Why? Pin
Aaron VanWieren15-Jan-07 12:39
Aaron VanWieren15-Jan-07 12:39 
GeneralRe: Query Access Database too slow! Why? Pin
Colin Angus Mackay15-Jan-07 12:57
Colin Angus Mackay15-Jan-07 12:57 
avanwieren wrote:
You don't have to close your connection when you are done as this will do it for you.


OMG | :OMG: WTF | :WTF: Very bad advice. You should always close the connection because it immediately frees up the resources on the database so it can be accessed by another application, or even a different part of the same application.

If you don't call close you are at the mercy of the garbage collector as to when the connection is finally closed. Each time you open a connection you'll need a new one as the previous one isn't closed yet. This might cause the application to fail if the database is too stretched to open a new connection. The cause won't be immediately apparent because the cause of the error isn't at the point the connection is opened, it is at the point the connection should have been closed, but wasn't.


AnswerRe: Query Access Database too slow! Why? Pin
Aaron VanWieren15-Jan-07 13:24
Aaron VanWieren15-Jan-07 13:24 
GeneralRe: Query Access Database too slow! Why? Pin
Colin Angus Mackay15-Jan-07 13:46
Colin Angus Mackay15-Jan-07 13:46 
GeneralRe: Query Access Database too slow! Why? Pin
Aaron VanWieren16-Jan-07 2:09
Aaron VanWieren16-Jan-07 2:09 
GeneralRe: Query Access Database too slow! Why? Pin
deanpugh15-Jan-07 21:36
deanpugh15-Jan-07 21:36 
GeneralRe: Query Access Database too slow! Why? Pin
Aaron VanWieren16-Jan-07 2:13
Aaron VanWieren16-Jan-07 2:13 
GeneralRe: Query Access Database too slow! Why? Pin
deanpugh16-Jan-07 2:26
deanpugh16-Jan-07 2:26 
AnswerRe: Query Access Database too slow! Why? Pin
Aaron VanWieren16-Jan-07 4:29
Aaron VanWieren16-Jan-07 4:29 
GeneralRe: Query Access Database too slow! Why? Pin
deanpugh16-Jan-07 4:39
deanpugh16-Jan-07 4:39 
GeneralRe: Query Access Database too slow! Why? Pin
Aaron VanWieren16-Jan-07 4:47
Aaron VanWieren16-Jan-07 4:47 
GeneralRe: Query Access Database too slow! Why? Pin
deanpugh16-Jan-07 4:51
deanpugh16-Jan-07 4:51 
GeneralRe: Query Access Database too slow! Why? Pin
deanpugh23-Jan-07 23:57
deanpugh23-Jan-07 23:57 
QuestionHow to create whiteboard for web application in .Net? Pin
pankaj_infogain15-Jan-07 5:45
pankaj_infogain15-Jan-07 5:45 
AnswerRe: How to create whiteboard for web application in .Net? Pin
Not Active15-Jan-07 6:11
mentorNot Active15-Jan-07 6:11 
Questionlabel problem Pin
groundzero11115-Jan-07 5:14
groundzero11115-Jan-07 5:14 
AnswerRe: label problem Pin
il_masacratore15-Jan-07 21:37
il_masacratore15-Jan-07 21:37 
GeneralRe: label problem Pin
groundzero11116-Jan-07 5:19
groundzero11116-Jan-07 5:19 
GeneralRe: label problem Pin
il_masacratore16-Jan-07 5:28
il_masacratore16-Jan-07 5:28 

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.