“/”应用程序中的服务器错误。

编译错误

说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。

编译器错误消息: CS0120: 非静态字段、方法或属性“OleDbHelper.GetDataTable(string)”要求对象引用

源错误:


行 27:         {
行 28:             int id = int.Parse(Request.QueryString["id"].ToString());
行 29:             DataTable data3 = OleDbHelper.GetDataTable("select * from  anli where id=" + Request.QueryString["id"].ToString());
行 30:             if (data3.Rows.Count > 0)
行 31:             {

源文件: d:\wwwroot\揭阳尚住活动箱房\lookanli.aspx.cs    行: 29






版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3930.0