摘要:
初次接触:1: using(类型 d =new ....) {.......}2: cmd.CommandText=""; cmd.ExecuteNonQuery();★ExecuteNonQuery一般用来执行Upadate\Delete\Insert语句 1 private void button1_Click(object sender, RoutedEventArgs e) 2 { 3 using(SqlConnection con=new SqlConnection( 4 "dat... 阅读全文