Click here to Skip to main content
15,892,199 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Help with update Pin
Eddy Vluggen14-Apr-09 1:13
professionalEddy Vluggen14-Apr-09 1:13 
GeneralRe: Help with update Pin
hendrikbez14-Apr-09 1:33
hendrikbez14-Apr-09 1:33 
GeneralRe: Help with update Pin
Eddy Vluggen14-Apr-09 6:16
professionalEddy Vluggen14-Apr-09 6:16 
GeneralRe: Help with update Pin
hendrikbez14-Apr-09 23:24
hendrikbez14-Apr-09 23:24 
GeneralRe: Help with update Pin
Eddy Vluggen15-Apr-09 0:11
professionalEddy Vluggen15-Apr-09 0:11 
QuestionConnecting C++.NET with WebService.. Pin
shaina223112-Apr-09 21:13
shaina223112-Apr-09 21:13 
QuestionDatabase connection Pin
EmZan11-Apr-09 2:21
EmZan11-Apr-09 2:21 
AnswerRe: Database connection Pin
0x3c011-Apr-09 2:41
0x3c011-Apr-09 2:41 
Just a technical point: assuming that the connection is by the same program to the same file, the connection doesn't get closed and opened lots of times. Most database drivers use connection pooling, which caches the database connection. This increases the speed considerably

Personally, I would go with the second option. I don't write database programs often, but with the advent of connection pooling, the speed reduction is virtually eliminated. On the other hand, a program may terminate abnormally; an example of this would be the 'End Process' button in Task Manager. If that happens, I don't know if the connection would get terminated

This choice is just my opinion really. It may not be right, but it goes with my general method of retrieving data: get in, read it as quickly and efficiently as possible, get out, deal with the extracted data
GeneralRe: Database connection Pin
EmZan11-Apr-09 3:01
EmZan11-Apr-09 3:01 
GeneralRe: Database connection Pin
0x3c011-Apr-09 3:17
0x3c011-Apr-09 3:17 
GeneralRe: Database connection Pin
EmZan11-Apr-09 6:15
EmZan11-Apr-09 6:15 
GeneralRe: Database connection Pin
Colin Angus Mackay11-Apr-09 6:25
Colin Angus Mackay11-Apr-09 6:25 
GeneralRe: Database connection Pin
EmZan12-Apr-09 20:58
EmZan12-Apr-09 20:58 
GeneralRe: Database connection Pin
Colin Angus Mackay12-Apr-09 22:57
Colin Angus Mackay12-Apr-09 22:57 
GeneralRe: Database connection Pin
EmZan12-Apr-09 23:16
EmZan12-Apr-09 23:16 
GeneralRe: Database connection Pin
Colin Angus Mackay12-Apr-09 23:20
Colin Angus Mackay12-Apr-09 23:20 
GeneralRe: Database connection Pin
EmZan12-Apr-09 23:36
EmZan12-Apr-09 23:36 
GeneralRe: Database connection Pin
Colin Angus Mackay12-Apr-09 23:52
Colin Angus Mackay12-Apr-09 23:52 
GeneralRe: Database connection Pin
EmZan13-Apr-09 0:05
EmZan13-Apr-09 0:05 
GeneralRe: Database connection Pin
Colin Angus Mackay13-Apr-09 0:14
Colin Angus Mackay13-Apr-09 0:14 
GeneralRe: Database connection Pin
EmZan13-Apr-09 2:11
EmZan13-Apr-09 2:11 
GeneralRe: Database connection Pin
dojohansen14-Apr-09 22:21
dojohansen14-Apr-09 22:21 
GeneralRe: Database connection Pin
Colin Angus Mackay15-Apr-09 0:11
Colin Angus Mackay15-Apr-09 0:11 
GeneralRe: Database connection [modified] Pin
dojohansen15-Apr-09 0:59
dojohansen15-Apr-09 0:59 
GeneralRe: Database connection Pin
Pete O'Hanlon15-Apr-09 1:57
mvePete O'Hanlon15-Apr-09 1:57 

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.