コード例 #1
0
 /// <summary>
 /// GridFill Function
 /// </summary>
 public void GridFill()
 {
     try
     {
         ProductGroupSP spProductGroup = new ProductGroupSP();
         DataTable      dtbl           = new DataTable();
         dtbl = spProductGroup.ProductAndUnitViewAllForGridFill(Convert.ToDecimal(cmbProductGroup.SelectedValue.ToString()), txtProductCode.Text.Trim(), txtProductName.Text.Trim());
         dgvStandardRate.DataSource = dtbl;
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "SR3" + ex.Message;
     }
 }
コード例 #2
0
 /// <summary>
 /// GridFill Function
 /// </summary>
 public void GridFill()
 {
     try
     {
         ProductGroupSP spProductGroup = new ProductGroupSP();
         DataTable      dtbl           = new DataTable();
         dtbl = spProductGroup.ProductAndUnitViewAllForGridFill(Convert.ToDecimal(cmbProductGroup.SelectedValue.ToString()), txtProductCode.Text.Trim(), txtProductName.Text.Trim());
         dgvStandardRate.DataSource = dtbl;
     }
     catch (Exception ex)
     {
         MessageBox.Show("SR3:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #3
0
 /// <summary>
 /// GridFill Function
 /// </summary>
 public void GridFill()
 {
     try
     {
         ProductGroupSP spProductGroup = new ProductGroupSP();
         DataTable dtbl = new DataTable();
         dtbl = spProductGroup.ProductAndUnitViewAllForGridFill(Convert.ToDecimal(cmbProductGroup.SelectedValue.ToString()), txtProductCode.Text.Trim(), txtProductName.Text.Trim());
         dgvStandardRate.DataSource = dtbl;
     }
     catch (Exception ex)
     {
         MessageBox.Show("SR3:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }