コード例 #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
ファイル: frmBrand.cs プロジェクト: jsoques/openmiracle
 /// <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);
     }
 }