S
Steve
Hi,
I am a relatively new user to vs.NET, and currently developing a
ASP.NET web site using MS access, with the view to moving it to
SQLServer. My problem is, how do I set up the connection to be utilise
connection pooling, and to be easily maintained and modified. I was
thinking of setting up a DSN, which is how I am currently connecting
in ASP but I'm not sure how to do it in .NET. So I created a class
which opens a connection and puts it in a readonly property, imports
the class in each page and sets the connection to that property. but
this is eatreamly sloppy, and cant be the best way to do this.
any help would be greatly appreciated. Thanks
I am a relatively new user to vs.NET, and currently developing a
ASP.NET web site using MS access, with the view to moving it to
SQLServer. My problem is, how do I set up the connection to be utilise
connection pooling, and to be easily maintained and modified. I was
thinking of setting up a DSN, which is how I am currently connecting
in ASP but I'm not sure how to do it in .NET. So I created a class
which opens a connection and puts it in a readonly property, imports
the class in each page and sets the connection to that property. but
this is eatreamly sloppy, and cant be the best way to do this.
any help would be greatly appreciated. Thanks