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

Last Reply 27 days ago By dharmendr

Posted 27 days 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