|
The tax type I use is the char type, the int type is not large enough, and the double type cannot be found in the system, is it not possible to use char?
'"+ TextBox1.Text +"' has double quotes because it is included in the select statement
[SqlException (0x80131904): There is a syntax error near the keyword 'check'. ]
System.Data.SqlClient.SqlConnection.OnError (SqlException exception, Boolean breakConnection) +177
System.Data.SqlClient.SqlInternalConnection.OnError (SqlException exception, Boolean breakConnection) +68
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning (TdsParserStateObject stateObj) +199
System.Data.SqlClient.TdsParser.Run (RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2305
System.Data.SqlClient.SqlDataReader.ConsumeMetaData () +31
System.Data.SqlClient.SqlDataReader.get_MetaData () +62
System.Data.SqlClient.SqlCommand.FinishExecuteReader (SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +294
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds (CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +1021
System.Data.SqlClient.SqlCommand.RunExecuteReader (CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +314
System.Data.SqlClient.SqlCommand.RunExecuteReader (CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +20
System.Data.SqlClient.SqlCommand.ExecuteReader (CommandBehavior behavior, String method) +107
System.Data.SqlClient.SqlCommand.ExecuteReader () +80
Billing information_loginpage.Button1_Click (Object sender, EventArgs e) in f:\check\Billing information\loginpage.aspx.cs: 28
System.Web.UI.WebControls.Button.OnClick (EventArgs e) +75
System.Web.UI.WebControls.Button.RaisePostBackEvent (String eventArgument) +97
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent (NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4919 |
|