How to solve this error in webconfig

Posted by Sekar.C under C# on 5/19/2012 | Points: 10 | Views : 1493 | Status : [Member] | Replies : 1
Hi,
I got this error in order.aspx.cs page
Error:
Format of the initialization string does not conform to specification starting at index 0.

string constr = ConfigurationManager.ConnectionStrings["connect"].ConnectionString; 
SqlConnection con = new SqlConnection("constr");


Regards
Sekar.c



Responses

Posted by: Santhiram on: 5/19/2012 [Member] Starter | Points: 25

Up
0
Down
Check if this link helps u..

http://forums.asp.net/t/1118276.aspx/1

Sekar.C, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response