private void button2_Click(object sender, EventArgs e) { String select_Yard_ID; select_Yard_ID = comboBox1.SelectedValue.ToString(); chloe_control_all chloe_obj = new chloe_control_all("Data Source=DESKTOP-O4C25KM;Initial Catalog=场馆预约系统;Integrated Security=True"); chloe_obj.del_Yard(select_Yard_ID); Yard_xiugai_Load(null, null); }