DotNetGnat
Programmer
Guys,
A very simple question...
I have the following line in my code...
MyConnection = New SqlConnection(System.Configuration.ConfigurationSettings.AppSettings("MyConnString"))
and i have
MyConnString="Provider=SQLOLEDB.1;Persist Security Info=False;User ID=XXXX;Initial Catalog=XXXX;DataSource=XXXX"
ok now what i dont know is--where to place this string? In web.config file or global.asax file??
-DNG
A very simple question...
I have the following line in my code...
MyConnection = New SqlConnection(System.Configuration.ConfigurationSettings.AppSettings("MyConnString"))
and i have
MyConnString="Provider=SQLOLEDB.1;Persist Security Info=False;User ID=XXXX;Initial Catalog=XXXX;DataSource=XXXX"
ok now what i dont know is--where to place this string? In web.config file or global.asax file??
-DNG