private void btnSearch_Click(object sender, EventArgs e) { string id = txtID.Text; DataProcess dp = new DataProcess(); dgvSupplier.DataSource = dp.SearchSupplier(id); }