Hi
I am developing a web application and i am using a class library with it, the problem i am facing is that how can i pass connection from my aspx.cs to class library classes, some techniques i am using but dont think that are better, that techniques are:
i am giving passing connection string to each class constructor and opening and closing it for any query, but i think this approach is not good, can any one please help me in this matter, i m really thankful to you people.
Regards