摘要:
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 阅读全文