G
Guest
I have a web service and i want it to read the web.confg file for my
database connection.
I keep getting an error on
conn.ConnectionString = ConfigurationSettings.AppSettings("DB")
it says Name ConfigurationSettings is not declared. this is the same line of
code i've taken from my asp.net web app so i know it works. Do i have to do
something different for a web service to read the file?
database connection.
I keep getting an error on
conn.ConnectionString = ConfigurationSettings.AppSettings("DB")
it says Name ConfigurationSettings is not declared. this is the same line of
code i've taken from my asp.net web app so i know it works. Do i have to do
something different for a web service to read the file?