.Net Programmar On cloud nine
Wednesday, April 6, 2011
Web config
to create connection string in web config file
web.config
Default.aspx.cs
static string strcon = ConfigurationManager.ConnectionStrings["INDCsampleConnectionString1"].ConnectionString; SqlConnection con = new SqlConnection(strcon);
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment