使用command对象检索数据库的步骤
使用command对象检索数据库的步骤
日期:2013-07-26 17:23:35 人气:1
最简单的例子 SqlConnection con = new SqlConnection("你的连接字符串");
SqlCommand com = new SqlCommand("SQL查询语句", con);
con.Open();
SqlDataReader dr = com.ExecuteReader();
w