通过DataSet更新、插入数据库
摘要:
方法一: //与SQL Server的连接字符串设置 private string _connString; private string _strSql; private SqlCommandBuilder sqlCmdBuilder; private DataSet ds = new DataSet(); private SqlDataAdapter da; public sqlAccess(string connString,string strSql) { this._connString=connString; } private SqlConnection GetConn... 阅读全文
posted @ 2012-06-28 15:24 huiy 阅读(640) 评论(0) 推荐(0) 编辑