08 2013 档案
摘要:A Multipart Series on Grids in ASP.NET MVCDisplaying a grid of data is one of the most common tasks faced by web developers. This article series shows how to display grids of data in an ASP.NET MVC application and walks through a myriad of common grid scenarios, including paging, sorting, filtering,
阅读全文
摘要:建议您在执行字符串时,使用sp_executesql存储过程而不要使用 EXECUTE 语句。由于此存储过程支持参数替换,因此sp_executesql比 EXECUTE 的功能更多;由于 SQL Server 更可能重用sp_executesql生成的执行计划,因此sp_executesql比 EXECUTE 更有效。自包含批处理当sp_executesql或 EXECUTE 语句执行字符串时,字符串将作为它的自包含批处理执行。SQL Server 会将字符串中的一个或多个 Transact-SQL 语句编译为独立于批处理(包含sp_executesql或 EXECUTE 语句)执行计划的执
阅读全文
posted @ 2013-08-20 20:54
.net's

浙公网安备 33010602011771号