Tina's blog
开心过好每一天! Come on !
摘要: SqlCommand对象 2006年10月15日 星期日 18:03 这节课描述了SqlCommand对象以及如何使用它与数据库交互。下面是本课的目标: 知道什么是command对象 ... 阅读全文
posted @ 2008-08-15 16:48 Tinachang 阅读(2784) 评论(0) 推荐(0) 编辑
摘要: 1.public static SqlParameter MakeParam(string ParamName, SqlDbType DbType, Int32 Size, ParameterDirection Direction, object Value) { SqlParameter param; if (Size > 0) ... 阅读全文
posted @ 2008-08-15 16:31 Tinachang 阅读(681) 评论(0) 推荐(0) 编辑
摘要: 2.sql 分页 注意:首先要得到pageSize,pageIndex select * from ( select top pageSize * from ( select top pageSize*pageIndex from Test order by id desc ... 阅读全文
posted @ 2008-08-15 16:13 Tinachang 阅读(1035) 评论(1) 推荐(0) 编辑
摘要: [/ 阅读全文
posted @ 2008-08-15 15:14 Tinachang 阅读(426) 评论(1) 推荐(0) 编辑