摘要: string connStr = "Server=178.88.1.121;initial catalog=test;User=sa;password=abc.DB"; using (SqlConnection conn = new SqlConnection(connStr)) { SqlCommand command = new SqlCommand("select top 4 * from h_emp_mstr", conn); conn.Open(); DataSet ds = new DataSet(); ds.DataSetName = &q 阅读全文
posted @ 2012-06-08 14:52 Tom Fan 阅读(610) 评论(0) 推荐(0) 编辑