SqlConnection

  • Thread starter Thread starter Islamegy
  • Start date Start date
I

Islamegy

In my windows application i use adapter which mean each user control i load
have to open and close connection and this make my application pretty slow..

I'm trying to create singleton Connection Component which can be accessed
visually and not set every Sqlcommand in adapter throught code..

but no luck.. is there anyway or any compoent to help fix this issue??
help plz
 
connections are pooled in the background so there is almost no penality hit.
Just make sure that you open a connection, do database i/o and then close
the connection asap.
 
Back
Top