private void bt_save_Click(object sender, EventArgs e) { if (object.Equals(null, cmb_jydyxz.SelectedValue)) { MessageBox.Show("请选择对应的小组!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } lisbiz.str_Insert_TJ_JGZHXMDZB(txt_zhxmbh.Text.Trim(), txt_jyzhbh.Text.Trim(), txt_sm.Text.Trim(), cmb_jydyxz.SelectedValue.ToString()); MessageBox.Show("保存成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); }