xiaowei-blog

导航

2014年12月17日 #

SqlParamsTool

摘要: /// /// sql参数封装类。 /// 可以用于设置sql语句动态参数。 /// class SqlParamsTool { private List paramList = new List();//sql参数集合,用于保存设置的参数 private static SqlPar... 阅读全文

posted @ 2014-12-17 16:45 xiaowei-blog 阅读(179) 评论(0) 推荐(0)

sqlserver数据库 -- SqlParameter使用

摘要: 查看:public sealed class SqlParameterCollection : DbParameterCollection类//1。定义封装类class Param { private List paramList=new List(); public SqlParameter[] ... 阅读全文

posted @ 2014-12-17 12:22 xiaowei-blog 阅读(788) 评论(0) 推荐(0)

sqlserver 数据库连接状态判断

摘要: /// /// 打开数据库 /// public void OpenCon() { if(conn.State!=ConnectionState.Open) conn.Open(); } /// /// 关闭数据库 /// public void CloseCon() { if(conn.... 阅读全文

posted @ 2014-12-17 12:14 xiaowei-blog 阅读(413) 评论(0) 推荐(0)

水晶报表2

摘要: //报表路径srgstring strg = Application.StartupPath.ToString(); strg = strg.Substring(0, strg.LastIndexOf("\\")); strg = strg.Substring(0, strg.LastIndexOf... 阅读全文

posted @ 2014-12-17 11:15 xiaowei-blog 阅读(80) 评论(0) 推荐(0)

欢 迎 大 家光 临 我 的 个 人 博 客 !