rcase ”10i0MNPQ\rsql += " where uname like + this, txtcheck. Text +\rbreak;\rcase "2"://$%RL\rsql j= " where bno like ' + this, txtcheck. Text + "%'";\rbreak;\rcase 030:0$%QS\rsql += " where bname like ' k + this, txtcheck. Text + "%'";\rbreak;\rdefault:\rbreak;\r)\rswitch (n)\r(\rcase "10:0"#$%`a\rsql += " and borstate <> 'b#'"?\rbreak;\rcase 020:08#$%`a\rsql += " and borstate-, 8#'”?\rbreak;\rcase "30:0de$%`a\rsql += " and borstate='de'”?\rbreak;\rcase "40:0ge$%`a\rsql += " and borstate=' g e ;\rbreak;\rdefault:\rbreak;\r}\r)\rDataTable dt = DBHe]p. ExeOleCommand(sql);\rthis. dataGridViewl. DataSource = dt;\r}\rprivate void cancel_C1ick(object sender, EventArgs e)\r(\rthis, boxcheck. Selectedlndex = 0;\rthis.boxstate. Selectedlndex = 0;\rthis, txtcheck. Text =\r}\r)\r14.qrUXst