Click here to Skip to main content
15,908,111 members
Home / Discussions / Database
   

Database

 
Generalregd MSSQL database connection Pin
Anonymous12-Oct-04 18:55
Anonymous12-Oct-04 18:55 
GeneralRe: regd MSSQL database connection Pin
Colin Angus Mackay12-Oct-04 23:54
Colin Angus Mackay12-Oct-04 23:54 
QuestionHelp! Using a Palm III as a network conn.? Pin
...---...12-Oct-04 6:06
...---...12-Oct-04 6:06 
AnswerRe: Help! Using a Palm III as a network conn.? Pin
Christian Graus14-Oct-04 10:11
protectorChristian Graus14-Oct-04 10:11 
GeneralAddNew(); Pin
Stgt12-Oct-04 4:11
Stgt12-Oct-04 4:11 
GeneralRe: AddNew(); Pin
Stgt13-Oct-04 22:48
Stgt13-Oct-04 22:48 
GeneralRe: AddNew(); Pin
Anonymous13-Oct-04 22:49
Anonymous13-Oct-04 22:49 
GeneralConnection Object Pin
EdbertP11-Oct-04 20:29
EdbertP11-Oct-04 20:29 
I have something I want to clarify.
I did a .NET project some time ago and I'm not sure I remember this correctly, but I don't think I called conn.Open() whenever I want to fill a dataset.
I think I read somewhere that calling dataAdapter.Fill() will open the connection and close it right away after it fills the dataset.

If for example I have 100 datasets to fill, would it make a difference if I call conn.Open() before I tried to fill the datasets and then call conn.Close(), or should I leave it to the dataAdapter.Fill() to open and close the connection?
Which one is more efficient? Does it depend on the database server (connection pooling, etc)?

Thanks,

Edbert P.
GeneralRe: Connection Object Pin
Colin Angus Mackay11-Oct-04 22:55
Colin Angus Mackay11-Oct-04 22:55 
GeneralRe: Connection Object Pin
EdbertP12-Oct-04 14:20
EdbertP12-Oct-04 14:20 
GeneralRe: Connection Object Pin
Colin Angus Mackay12-Oct-04 21:16
Colin Angus Mackay12-Oct-04 21:16 
GeneralRe: Connection Object Pin
EdbertP13-Oct-04 17:17
EdbertP13-Oct-04 17:17 
GeneralUnicode to Big-5 conversion (Any ideas?) Pin
Its due when11-Oct-04 20:06
Its due when11-Oct-04 20:06 
Generalexcel and oledbexception Pin
its_skar11-Oct-04 15:34
its_skar11-Oct-04 15:34 
QuestionUnforseen problem? Pin
Jerry Hammond11-Oct-04 5:50
Jerry Hammond11-Oct-04 5:50 
AnswerRe: Unforseen problem? Pin
Colin Angus Mackay11-Oct-04 6:05
Colin Angus Mackay11-Oct-04 6:05 
GeneralRe: Unforseen problem? Pin
Mike Dimmick11-Oct-04 9:59
Mike Dimmick11-Oct-04 9:59 
GeneralRe: Unforseen problem? Pin
Colin Angus Mackay11-Oct-04 10:08
Colin Angus Mackay11-Oct-04 10:08 
GeneralRe: Unforseen problem? Pin
Mike Dimmick11-Oct-04 10:31
Mike Dimmick11-Oct-04 10:31 
QuestionAre distributed transactions in MS Access possible ? Pin
Daniel Kailer11-Oct-04 4:13
Daniel Kailer11-Oct-04 4:13 
AnswerRe: Are distributed transactions in MS Access possible ? Pin
Vasudevan Deepak Kumar13-Oct-04 2:36
Vasudevan Deepak Kumar13-Oct-04 2:36 
Generalmysql with asp.net Pin
hazzem elrefai11-Oct-04 1:48
hazzem elrefai11-Oct-04 1:48 
GeneralRe: mysql with asp.net Pin
Colin Angus Mackay11-Oct-04 2:33
Colin Angus Mackay11-Oct-04 2:33 
GeneralRe: mysql with asp.net Pin
Gavin Jeffrey11-Oct-04 3:27
Gavin Jeffrey11-Oct-04 3:27 
GeneralRe: mysql with asp.net Pin
Vasudevan Deepak Kumar13-Oct-04 2:35
Vasudevan Deepak Kumar13-Oct-04 2:35 

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.