string sql = "select top " + pagesize + " * from [news] where newsId not in(select top " + count2 + " newsId from [news] where newsId > -1 order by writerDate desc) order by writerDate desc";
程序是ASP.NET web应用程序,分页我用的aspnetpager控件
我用sql数据库时没有问题,转到access数据库上就报错了