private void btnRefresh_Click(object sender, EventArgs e)
 {
     try
     {
         suppliers = Data_Supplier.SearchSuppliers(Global.Username, txtSearchKeyword.Text.Trim(), luSupplierType.Text.Trim(), false);
         bsSuppliers.DataSource = suppliers;
     }
     catch (Exception ex)
     {
         Utils.ShowException(ex);
     }
 }
Esempio n. 2
0
 private void btnFilter_Click(object sender, EventArgs e)
 {
     bsRecords.DataSource = Data_Supplier.SearchSuppliers(Global.Username, txtSearchTerm.Text.Trim(), String.Empty, true);
 }