摘要: 最一般的通过SQL命令操作数据库的步骤,大家根据这个步骤来写程序。 1、新建SqlConnection对象(SqlConnection con = new SqlConnection();)2、ConnectionString属性的赋值(连接字符串, con.ConnectionString = "";)3、con.Open() 4、新建SqlCommand对象(SqlCommand com ... 阅读全文
posted @ 2007-07-01 12:37 星空竹月 阅读(235) 评论(0) 推荐(0) 编辑