Read connection string from Web config using C# and VB.Net in ASP.Net

Last Reply 10 months ago By dharmendr

Posted 10 months ago

Actually i want to save data in sql server 2012 with id, name & image but everything is good.

But still unable to insert my data. I want to ask that in web.config file some default lines are there which is not coming when im trying to open it, is that still important of that lines or else i have only pass connection string with data in

<connectionstring></connectionstring>div, like

<add name="connection name" ....................etc

 

This question does not have replies that have been liked.