摘要: 1 DataSet ds = new DataSet(); 2 ds.ReadXml(@"users.xml"); 3 4 DataTable dt = ds.Tables[0]; 5 6 if (dt.Rows.Count > 0) 7 { 8 using (SqlConnection con = new SqlConnection(connectionString)) 9 {10 con.Open();11 using (SqlCommand cmd = new SqlCommand())12 {13 cmd.CommandText = "sp_inse 阅读全文
posted @ 2011-04-18 22:57 freewater 阅读(299) 评论(0) 推荐(0) 编辑