I need help with making variables public so they can be seen everywhere in my web application.
Below are my three database connection variables:
Dim oConn AsNew OleDbConnection(ConfigurationSettings.AppSettings("dsn"))
Dim oCmd As OleDbCommand
Dim oDR As OleDbDataReader
How and Where do I place these variables so that all my web pages of my website can access it without redeclaring them again and again in every webpage.
Please advise me.
Many thanks in advance.
dominico
Below are my three database connection variables:
Dim oConn AsNew OleDbConnection(ConfigurationSettings.AppSettings("dsn"))
Dim oCmd As OleDbCommand
Dim oDR As OleDbDataReader
How and Where do I place these variables so that all my web pages of my website can access it without redeclaring them again and again in every webpage.
Please advise me.
Many thanks in advance.
dominico