private void txtSearch_TextChanged(object sender, EventArgs e) { BL.CLS_PRODUCTS order = new BL.CLS_PRODUCTS(); try { this.dgvProducts.DataSource = order.SearchProduct(txtSearch.Text); } catch { return; } }