this.constring = ConfigurationManager.ConnectionStrings["CountryConstring"].ConnectionString;
//config file <?xml version="1.0" encoding="utf-8" ?> <configuration> <connectionStrings> <clear/> <add name="sConstring" providerName="System.Data.SqlClient" connectionString="Data Source=Dnyan-PC;Initial Catalog=DB_REGISTRATION;Integrated Security=True" /> </connectionStrings> </configuration>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)