i have got an error
Server Error in '/dataBasee' Application.
Format of the initialization string does not conform to specification starting at index 0.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0.
Source Error:
Line 43: _Conn = new Connection();
Line 44: string a = Convert .ToString (_Conn.GetCon());
Line 45: _con.ConnectionString = a;
Line 46: _cmd =new SqlCommand ("insert into employee(Name,Address) values('"+this ._empName+"','"+this ._empAddr +"')",_con );
Line 47: _con .Open();
Source File: c:\Users\vishal\Documents\Visual Studio 2008\WebSites\dataBasee\App_Code\employee.cs Line: 45
Stack Trace:
[ArgumentException: Format of the initialization string does not conform to specification starting at index 0.]
System.Data.Common.DbConnectionOptions.GetKeyValue Pair(String connectionString, Int32 currentPosition, StringBuilder buffer, Boolean useOdbcRules, String& keyname, String& keyvalue) +4867618
System.Data.Common.DbConnectionOptions.ParseIntern al(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey) +129
System.Data.Common.DbConnectionOptions..ctor(Strin g connectionString, Hashtable synonyms, Boolean useOdbcRules) +98
System.Data.SqlClient.SqlConnectionString..ctor(St ring connectionString) +55
System.Data.SqlClient.SqlConnectionFactory.CreateC onnectionOptions(String connectionString, DbConnectionOptions previous) +24
System.Data.ProviderBase.DbConnectionFactory.GetCo nnectionPoolGroup(String connectionString, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) +200
System.Data.SqlClient.SqlConnection.ConnectionStri ng_Set(String value) +62
System.Data.SqlClient.SqlConnection.set_Connection String(String value) +4
employee.AddEmp() in c:\Users\vishal\Documents\Visual Studio 2008\WebSites\dataBasee\App_Code\employee.cs:45
_Default.btnInsert_Click(Object sender, EventArgs e) in c:\Users\vishal\Documents\Visual Studio 2008\WebSites\dataBasee\Login.aspx.cs:23
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
plzzz help me......