摘要: 今天阅读代码时发现下面这句代码string SqlCount = "select count(" + IndexField + ") from " + SqlTablesAndWhere;cmd.CommandText = SqlCount;RecordCount = (int)cmd.ExecuteScalar();写过代码的都知道ExecuteScalar()是干什么的,它返回的是SQL语句执... 阅读全文
posted @ 2013-05-19 17:33 Adming 阅读(2108) 评论(0) 推荐(0) 编辑