Last post Aug 10, 2011 10:01 AM by Riddik
Aug 10, 2011 09:01 AM|Riddik|LINK
I defined connection string in web.confg file. However sqldatasource control requires it be defined as its property in aspx page. Is it necessary to define connectionstring for datasource controls if it is already placed into web.config file?
Aug 10, 2011 09:13 AM|esayas|LINK
It is necessary since you can define more than one connectionstring in the web.config file. You have to tell your sql datasource which one to use. You can use the following syntax
Aug 10, 2011 10:01 AM|Riddik|LINK
esayas, thanks a lot!
tha's clear for me now!