页面是否能打开,在IIS里建虚拟目录,跟踪调试看看 IIS设置是否正确 Data Server=.\SQLEXPRESS;Initial Catalog=Northwind;User ID=sa;Password=sa Data Server=.;Initial Catalog=Northwind;User ID=sa;Password=sa Data Server=服务器名;Initial Catalog=Northwind;User ID=sa;Password=sa
select top 12 * from Product where [id] not in (select top 12 [id] from Product) 这样可以分页,但是我在后面想加个条件 select top 12 * from Product where [id] not in (select top 12 [id] from Prod ......