Hello, I'm just switch from C# winform to webforms and do not know how to make DB connection created in login page accessible from other pages, in login I created:
SqlConnection DbConn = new SqlConnection("user id='"+ls_user+"';password='"+ls_pwd+"';server=server_nameL;database=db_name; Trusted_Connection = False;connection timeout=30;");
To get a data from DB in other pages< I need to use DbConn.
What should I do?
8/22/2022 - Mon
Your help has saved me hundreds of hours of internet surfing.