Go4Expert

Go4Expert (http://www.go4expert.com/)
-   ASP (http://www.go4expert.com/forums/asp/)
-   -   where to insert <appSettings... > tag in web.confid file (http://www.go4expert.com/forums/insert-appsettings-tag-webconfid-file-t19945/)

shyam_oec 2Nov2009 06:15

where to insert <appSettings... > tag in web.confid file
 
dear sir,
i am unable to short out a problem that i get when inserting this <appSettings....> code in web.config file.i think i am not placing it right place..so plz help


Code:

<appSettings>
    <add key="SQLCON" value="Data Source=.\sqlexpress;Initial Catalog=DB1;Integrated Security=True;Pooling=False"/>
  </appSettings>

after inserting this in web.config i am properly writing the SqlConnection statements in main .cs file.


All times are GMT +5.5. The time now is 00:35.