Hi,karen17

I think the session variable will die until the session ends. Then there will be a lot of session variables which should origianly be form-class variables in my program, and some of them have the same names, it will be confusing.

By the way, your suggestion has thrown light on my mind that I can define a session variable which is the connection to database.

Do you know, how can I define the session variable as SqlConnection ?


Thanks

wu7up