Example #1
0
        //For Searching
        private void txtb_search_TextChanged(object sender, EventArgs e)
        {
            DataTable Dt = new DataTable();

            Dt = Pro.SearchProduct(txtb_search.Text);
            dataGridV_Product.DataSource = Dt;
        }
 private void btn_Search_Click(object sender, EventArgs e)
 {
     dataGridView_Products.DataSource = Prod.SearchProduct(txtB_ProductSearch.Text);
 }