摘要: 案例 例如1:一张表有一万多条记录,表的第一个字段 RecID 是自增长字段, 写一个SQL语句, 找出表的第31到第40个记录。 select top 10 recid from A where recid not in(select top 30 recid from A) 分析:如果这样写会产... 阅读全文
posted @ 2011-12-14 16:53 彪悍的小黑 阅读(174) 评论(0) 推荐(0)
摘要: 1.machine.config是整个计算机所有应用程序的配置 web.config是最常用的配置文件2.数据库连接(1)配置数据库连接字符串 (2)使用连接配置string connectionString=ConfigurationManager.ConnectionsString... 阅读全文
posted @ 2011-12-14 16:48 彪悍的小黑 阅读(227) 评论(0) 推荐(0)