Author: smis | Posted on: 11/1/2008 12:39:18 AM | Views : 301

Do i need to write the code for database connection in each of  the .aspx page in the appln?

see i have a login.aspx,a home.aspx,and users.aspx;

 I write the code to connect to db in login.aspx.cs

can that connection object be used in other pages,or do i need to every time create the connection object  and write the whole code for db conn in all page?

Is it possible to make the conn object as a session variable?? Am not sure????

pls give an ans

 

 
...

Go to the complete details ...