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 103:        DataSet ds;
Line 104:        ZZY.BLL.xp_news ProductBLL = new ZZY.BLL.xp_news();
Line 105:        ds = ProductBLL.GetList(strwhere + " and recommend <> true ");
Line 106:        DataView dv = ds.Tables[0].DefaultView;
Line 107:        PagedDataSource pgs = new PagedDataSource();

Source File: d:\ekemWeb\ekemWeb\news.aspx.cs    Line: 105

Stack Trace:


[Exception: 不能使用 '';文件已在使用中。]
   DbHelperOleDb.Query(String SQLString) in J:\2017-12\9159金莎游艺场\9159金莎游艺场\52新双语\DBUtility\DbHelperOleDb.cs:146
   ZZY.DAL.xp_news.GetList(String strWhere) in J:\2017-12\9159金莎游艺场\9159金莎游艺场\52新双语\DAL\xp_news.cs:388
   ZZY.BLL.xp_news.GetList(String strWhere) in J:\2017-12\9159金莎游艺场\9159金莎游艺场\52新双语\BLL\xp_news.cs:87
   _Default.ProductBind() in d:\ekemWeb\ekemWeb\news.aspx.cs:105
   _Default.AspNetPager1_PageChanged(Object sender, EventArgs e) in d:\ekemWeb\ekemWeb\news.aspx.cs:156
   Wuqi.Webdiyer.AspNetPager.OnPageChanged(EventArgs e) in e:\GitHub\AspNetPagerCN\AspNetPager\Methods.cs:42
   Wuqi.Webdiyer.AspNetPager.OnPageChanging(PageChangingEventArgs e) in e:\GitHub\AspNetPagerCN\AspNetPager\Methods.cs:32
   Wuqi.Webdiyer.AspNetPager.OnLoad(EventArgs e) in e:\GitHub\AspNetPagerCN\AspNetPager\aspnetpager.cs:103
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Control.LoadRecursive() +146
   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