Here we need to set the database connection in web.config because here I am getting database connection from web.config XML <connectionstrings> <add name="dbconnection" connectionstring="Data Source=SureshDasari;Integrated Security=true;Initial Catalog=MySampleDB" /> </connectionstrings>
<connectionstrings> <add name="dbconnection" connectionstring="Data Source=SureshDasari;Integrated Security=true;Initial Catalog=MySampleDB" /> </connectionstrings>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)