示例#1
0
 /// <summary>
 /// Function to fill all rack in datagridview
 /// </summary>
 public void GridFill()
 {
     try
     {
         RackSP    spRack   = new RackSP();
         DataTable dtblRack = new DataTable();
         dtblRack           = spRack.RackSearch(txtRackNameSearch.Text.Trim(), cmbGodownSearch.Text.ToString());
         dgvRack.DataSource = dtblRack;
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "R5:" + ex.Message;
     }
 }
示例#2
0
 /// <summary>
 /// Function to fill all rack in datagridview
 /// </summary>
 public void GridFill()
 {
     try
     {
         RackSP    spRack   = new RackSP();
         DataTable dtblRack = new DataTable();
         dtblRack           = spRack.RackSearch(txtRackNameSearch.Text.Trim(), cmbGodownSearch.Text.ToString());
         dgvRack.DataSource = dtblRack;
     }
     catch (Exception ex)
     {
         MessageBox.Show("R5:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
示例#3
0
 /// <summary>
 /// Function to fill all rack in datagridview
 /// </summary>
 public void GridFill()
 {
     try
     {
         RackSP spRack = new RackSP();
         DataTable dtblRack = new DataTable();
         dtblRack = spRack.RackSearch(txtRackNameSearch.Text.Trim(), cmbGodownSearch.Text.ToString());
         dgvRack.DataSource = dtblRack;
     }
     catch (Exception ex)
     {
         MessageBox.Show("R5:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }