Exemplo n.º 1
0
        public List <DataTable> RackFillForStock(decimal decGodown)
        {
            List <DataTable> listObj = new List <DataTable>();

            try
            {
                listObj = SPRack.RackFillForStock(decGodown);
            }
            catch (Exception ex)
            {
                MessageBox.Show("RackBll 8:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(listObj);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Function to Rack Godown Combobox
 /// </summary>
 public void RackComboFill()
 {
     try
     {
         RackSP    spRack = new RackSP();
         DataTable dtbl   = new DataTable();
         if (cmbGodown.SelectedValue.ToString() != "System.Data.DataRowView")
         {
             dtbl = spRack.RackFillForStock(Convert.ToDecimal(cmbGodown.SelectedValue.ToString()));
             cmbRack.DataSource    = dtbl;
             cmbRack.DisplayMember = "rackName";
             cmbRack.ValueMember   = "rackId";
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("PS:09" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }