查询数据的源代码:string conString="data source=127.0.0.1;database=test;user id=sa;password=123"; string strSQL="select * from student"; SqlConnection myConnection=new SqlConnection(conString); DataSet ds=new DataSet(); myConnection.Open(); SqlDataAdapter adapter=new SqlDataAdapter(strSQL Read More
posted @ 2011-07-22 08:21 lawdong Views(454) Comments(0) Diggs(0) Edit
http://home.cnblogs.com/ing/