예제 #1
0
 /// <summary>
 /// Function to fill datagridview
 /// </summary>
 public void GridFill()
 {
     try
     {
         BrandSP   spBrand   = new BrandSP();
         DataTable dtblBrand = new DataTable();
         dtblBrand           = spBrand.BrandSearch(txtBrandNameSearch.Text.Trim());
         dgvBrand.DataSource = dtblBrand;
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "BR7:" + ex.Message;
     }
 }
예제 #2
0
 /// <summary>
 /// Function to fill datagridview
 /// </summary>
 public void GridFill()
 {
     try
     {
         BrandSP   spBrand   = new BrandSP();
         DataTable dtblBrand = new DataTable();
         dtblBrand           = spBrand.BrandSearch(txtBrandNameSearch.Text.Trim());
         dgvBrand.DataSource = dtblBrand;
     }
     catch (Exception ex)
     {
         MessageBox.Show("BR7:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
예제 #3
0
 /// <summary>
 /// Function to fill datagridview
 /// </summary>
 public void GridFill()
 {
     try
     {
         BrandSP spBrand = new BrandSP();
         DataTable dtblBrand = new DataTable();
         dtblBrand = spBrand.BrandSearch(txtBrandNameSearch.Text.Trim());
         dgvBrand.DataSource = dtblBrand;
     }
     catch (Exception ex)
     {
         MessageBox.Show("BR7:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }