what is the difference between appsettings and connectionstring
-
hello my dear... i have a doubt that in web.config file we can give database connection in <appsettings> and also give in <connectionstring> what is the difference between both of them please clarify my doubt thanking you yours somasekhar
j somasekhar
modified on Friday, June 4, 2010 7:49 AM
-
hello my dear... i have a doubt that in web.config file we can give database connection in <appsettings> and also give in <connectionstring> what is the difference between both of them please clarify my doubt thanking you yours somasekhar
j somasekhar
modified on Friday, June 4, 2010 7:49 AM
There is no doubt, you can use either appSettings or connectionStrings. ConnectionStrings has built in support in the ConfigurationManager class where as using the appSettings you have to do yourself. Also, connectionSettings is where other components will look by default for connection information.
I know the language. I've read a book. - _Madmatt
-
There is no doubt, you can use either appSettings or connectionStrings. ConnectionStrings has built in support in the ConfigurationManager class where as using the appSettings you have to do yourself. Also, connectionSettings is where other components will look by default for connection information.
I know the language. I've read a book. - _Madmatt
thank you my dear
j somasekhar