示例#1
0
        private void button1_Click(object sender, EventArgs e)
        {
            string sfbz = "";

            if (checkBox2.Checked == true)
            {
                sfbz = "1";
            }
            else
            {
                sfbz = "0";
            }
            dgv_bzxx.DataSource = tjdjbiz.Get_TJ_Bzryxx(txt_bzdah.Text.Trim(), txt_bzxm.Text.Trim(), sfbz, "");
        }