Click here to Skip to main content
15,895,142 members
Home / Discussions / C#
   

C#

 
AnswerRe: "Client & Server" Pin
Ganesh Kumar Kaki13-Apr-11 2:29
Ganesh Kumar Kaki13-Apr-11 2:29 
Questiontransfer large data Pin
anishkannan28-Mar-11 17:48
anishkannan28-Mar-11 17:48 
AnswerRe: transfer large data Pin
Not Active28-Mar-11 18:01
mentorNot Active28-Mar-11 18:01 
GeneralRe: transfer large data Pin
anishkannan28-Mar-11 18:25
anishkannan28-Mar-11 18:25 
AnswerRe: transfer large data Pin
David198728-Mar-11 21:33
David198728-Mar-11 21:33 
AnswerRe: transfer large data Pin
BobJanova30-Mar-11 23:49
BobJanova30-Mar-11 23:49 
Questionto close connection to database after i use or not ? Pin
Gali197828-Mar-11 9:15
Gali197828-Mar-11 9:15 
AnswerRe: to close connection to database after i use or not ? Pin
Luc Pattyn28-Mar-11 9:24
sitebuilderLuc Pattyn28-Mar-11 9:24 
this gets asked at least once a week around here.

the answer was and still is: open-use-close at the functional level (i.e. within a single method), not at the application level.
database connection licenses are expensive so you shouldn't have them sit idle, and connection pooling will reduce the technical cost of opening and closing connections.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

GeneralRe: to close connection to database after i use or not ? Pin
Wendelius28-Mar-11 10:50
mentorWendelius28-Mar-11 10:50 
GeneralRe: to close connection to database after i use or not ? Pin
Luc Pattyn28-Mar-11 11:30
sitebuilderLuc Pattyn28-Mar-11 11:30 
GeneralRe: to close connection to database after i use or not ? Pin
Wendelius28-Mar-11 11:40
mentorWendelius28-Mar-11 11:40 
JokeRe: to close connection to database after i use or not ? Pin
Ganesh Kumar Kaki13-Apr-11 2:32
Ganesh Kumar Kaki13-Apr-11 2:32 
AnswerRe: to close connection to database after i use or not ? Pin
#realJSOP28-Mar-11 9:55
mve#realJSOP28-Mar-11 9:55 
AnswerRe: to close connection to database after i use or not ? Pin
Wendelius28-Mar-11 10:48
mentorWendelius28-Mar-11 10:48 
AnswerRe: to close connection to database after i use or not ? Pin
PIEBALDconsult28-Mar-11 14:25
mvePIEBALDconsult28-Mar-11 14:25 
QuestionHow to communicate to a device via serial port Pin
_awatts28-Mar-11 6:21
_awatts28-Mar-11 6:21 
GeneralRe: How to communicate to a device via serial port Pin
_awatts28-Mar-11 9:09
_awatts28-Mar-11 9:09 
GeneralRe: How to communicate to a device via serial port Pin
Luc Pattyn28-Mar-11 9:21
sitebuilderLuc Pattyn28-Mar-11 9:21 
GeneralRe: How to communicate to a device via serial port Pin
_awatts28-Mar-11 9:57
_awatts28-Mar-11 9:57 
AnswerRe: How to communicate to a device via serial port Pin
Luc Pattyn28-Mar-11 10:15
sitebuilderLuc Pattyn28-Mar-11 10:15 
GeneralRe: How to communicate to a device via serial port Pin
_awatts28-Mar-11 10:45
_awatts28-Mar-11 10:45 
AnswerRe: How to communicate to a device via serial port Pin
Luc Pattyn28-Mar-11 11:00
sitebuilderLuc Pattyn28-Mar-11 11:00 
GeneralRe: How to communicate to a device via serial port Pin
_awatts28-Mar-11 11:38
_awatts28-Mar-11 11:38 
AnswerRe: How to communicate to a device via serial port Pin
Luc Pattyn28-Mar-11 11:55
sitebuilderLuc Pattyn28-Mar-11 11:55 
AnswerRe: How to communicate to a device via serial port Pin
Pritesh Aryan28-Mar-11 20:55
Pritesh Aryan28-Mar-11 20:55 

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.