private void btn_Ara_Click(object sender, EventArgs e) { if (txt_Kadi.Text == "") { b_Listele(); } else { string kadi = txt_Kadi.Text.ToString(); veritabani vt = new veritabani(); vt.baglan(); vt.b_Ara(kadi, dataGridView1); vt.baglanti_Kes(); } }