Venkrishna
Jun 23rd, 2003, 06:03 AM
Guys,
I am new to C# Programming. I want to have a single connection object accessible across the application. The Object should be created when the application starts and should be available to all the module / functions of the windows applicaiton. am I right in doing this way or any other new concept in achieving this in C#?
I am not interested to use any design time objects. The object should also be destroyed when the application is closed.
Also I have created one class for the project and this class has a property called "appConn" whcih I want to use in my application.
Any help material regarding this and code is appreciated.
Thanks,
venkrishna.
I am new to C# Programming. I want to have a single connection object accessible across the application. The Object should be created when the application starts and should be available to all the module / functions of the windows applicaiton. am I right in doing this way or any other new concept in achieving this in C#?
I am not interested to use any design time objects. The object should also be destroyed when the application is closed.
Also I have created one class for the project and this class has a property called "appConn" whcih I want to use in my application.
Any help material regarding this and code is appreciated.
Thanks,
venkrishna.