Server Error in '/' Application.
--------------------------------------------------------------------------------
第 1 行: '2' 附近有语法错误。
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.Exception: 第 1 行: '2' 附近有语法错误。
Source Error:
Line 338: {
Line 339: myTrans.Rollback();
Line 340: throw new Exception(e.Message);
Line 341: }
Line 342: finally
Source File: f:\Inetpub\wwwroot\ProductLibManSys\App_Code\Database.cs Line: 340
Stack Trace:
[Exception: 第 1 行: '2' 附近有语法错误。]
database.Database.ExecuteSqls(String[] strSQLs) in f:\Inetpub\wwwroot\ProductLibManSys\App_Code\Database.cs:340
ViewProduct.PrivateToPublic() in f:\Inetpub\wwwroot\ProductLibManSys\ProductManagement\ViewProduct.aspx.cs:2594
ViewProduct.bt_ToPublic_Click(Object sender, EventArgs e) in f:\Inetpub\wwwroot\ProductLibManSys\ProductManagement\ViewProduct.aspx.cs:2492
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
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) +5102