Jassim,
If you want to expose a connection, you should create a static property
and then create a new connection every time that property is called. You
want to create a new connection because your routines should close the
connection when they are finished with it, you shouldn't keep the connection
open if you are not using it.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Jassim Rahma" <jr****@hotmail.com> wrote in message
news:uZ**************@TK2MSFTNGP10.phx.gbl...
Hi,
how can i connect to mySQL server and keep the connectivity in a public
area so that I can use it fro all forms within my application...
Many Thanks,
Jassim Rahma
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!