Server Error in '/' Application.

不能使用 '';文件已在使用中。

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: 不能使用 '';文件已在使用中。

Source Error:


Line 54:         string strwhere = "parentid=1 and menuid=" + categoryid;
Line 55:         DataSet ds;
Line 56:         ds = ProductBLL.GetList(strwhere);
Line 57:         Rep_BusinessList.DataSource = ds;
Line 58:         Rep_BusinessList.DataBind();

Source File: d:\ekemWeb\ekemWeb\caselist.aspx.cs    Line: 56

Stack Trace:


[Exception: 不能使用 '';文件已在使用中。]
   DbHelperOleDb.Query(String SQLString) in J:\2017-12\金莎9159游艺场\金莎9159游艺场\52新双语\DBUtility\DbHelperOleDb.cs:146
   ZZY.DAL.xp_procategory.GetList(String strWhere) in J:\2017-12\金莎9159游艺场\金莎9159游艺场\52新双语\DAL\xp_procategory.cs:291
   ZZY.BLL.xp_procategory.GetList(String strWhere) in J:\2017-12\金莎9159游艺场\金莎9159游艺场\52新双语\BLL\xp_procategory.cs:88
   _Default.NewsBind() in d:\ekemWeb\ekemWeb\caselist.aspx.cs:56
   _Default.Page_Load(Object sender, EventArgs e) in d:\ekemWeb\ekemWeb\caselist.aspx.cs:45
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1016