这句话是在global.asax文件里面的,是什么作用,有没有人给讲讲。我添加了routes.IgnoreRoute("{resource}.ashx/{*pathInfo}");但还是访问不到ashx文件。追加一个问题,就是,可不可以给view增加codebehind的cs文件,现在好像吧所有显示的控制流程都写在页面里面,感觉很不爽,如果页面复杂点,看都看不懂了。有什么好办法没有?最好有例子。 错,应该写在Model里面。 XML code:
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 ......