Click here to Skip to main content
15,890,557 members
Home / Discussions / C#
   

C#

 
Questionstring to int, double? Pin
alma1-Aug-03 5:09
alma1-Aug-03 5:09 
AnswerRe: string to int, double? Pin
mikemilano1-Aug-03 5:26
mikemilano1-Aug-03 5:26 
AnswerRe: string to int, double? Pin
Nick Parker1-Aug-03 5:40
protectorNick Parker1-Aug-03 5:40 
AnswerRe: string to int, double? Pin
Ista1-Aug-03 5:57
Ista1-Aug-03 5:57 
Generalpress enter anywhere in form to activate button Pin
mikemilano1-Aug-03 5:07
mikemilano1-Aug-03 5:07 
GeneralRe: press enter anywhere in form to activate button Pin
Valeria Bogdevich1-Aug-03 5:33
Valeria Bogdevich1-Aug-03 5:33 
GeneralConvincing web service migration Pin
Steve Severance1-Aug-03 4:36
Steve Severance1-Aug-03 4:36 
GeneralRe: Convincing web service migration Pin
Daniel Turini1-Aug-03 5:00
Daniel Turini1-Aug-03 5:00 
GeneralRe: Convincing web service migration Pin
Ista1-Aug-03 6:03
Ista1-Aug-03 6:03 
GeneralExcel in C# Pin
don7cry1-Aug-03 0:50
don7cry1-Aug-03 0:50 
GeneralRe: Excel in C# Pin
Philip Fitzsimons1-Aug-03 2:28
Philip Fitzsimons1-Aug-03 2:28 
GeneralRe: Excel in C# Pin
Jesse Squire1-Aug-03 3:07
Jesse Squire1-Aug-03 3:07 
GeneralRe: Excel in C# Pin
Ista1-Aug-03 6:20
Ista1-Aug-03 6:20 
GeneralRe: Excel in C# Pin
sburton@amersham1-Aug-03 7:57
sburton@amersham1-Aug-03 7:57 
Questionsql connection best practise? Pin
isarfraz1-Aug-03 0:34
isarfraz1-Aug-03 0:34 
AnswerRe: sql connection best practise? Pin
Rampas Tomas1-Aug-03 1:51
Rampas Tomas1-Aug-03 1:51 
I prefer the scenario you described. Just because you benefits from framework built-in connection pooling. You don't need global objects, but remeber for each openning connection you MUST provide the same connection string (means equality of content).
For more (and better described;P) details see MSDN documentation or online
http://msdn.microsoft.com/vstudio/using/understand/data/default.aspx?pull=/library/en-us/dnadonet/html/adonetbest.asp[^]

Tomas Rampas
------------------------------
gedas CR s.r.o.
System analyst, MCP
TGM 840,
293 01 Mlada Boleslav,
Czech Republic
Telefon/phone +420(326)711411
Telefax/fax +420(326)711420
rampas@gedas.cz
http://www.gedas.com/
------------------------------

To be or not to be is true...
George Bool
GeneralRe: sql connection best practise? Pin
isarfraz1-Aug-03 2:20
isarfraz1-Aug-03 2:20 
GeneralRe: sql connection best practise? Pin
Khang Nguyen1-Aug-03 6:19
Khang Nguyen1-Aug-03 6:19 
QuestionNetwork Access? Pin
Rocky Moore1-Aug-03 0:10
Rocky Moore1-Aug-03 0:10 
AnswerRe: Network Access? Pin
Rampas Tomas1-Aug-03 1:25
Rampas Tomas1-Aug-03 1:25 
GeneralRe: Network Access? Pin
Rocky Moore1-Aug-03 21:17
Rocky Moore1-Aug-03 21:17 
GeneralRe: Network Access? Pin
J. Dunlap1-Aug-03 21:21
J. Dunlap1-Aug-03 21:21 
GeneralRe: Network Access? Pin
Rocky Moore1-Aug-03 22:01
Rocky Moore1-Aug-03 22:01 
GeneralRe: Network Access? Pin
J. Dunlap1-Aug-03 22:19
J. Dunlap1-Aug-03 22:19 
GeneralRe: Network Access? Pin
Rocky Moore2-Aug-03 2:56
Rocky Moore2-Aug-03 2:56 

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.