/// <summary>
        /// Function to use the Rack Combo Fill
        /// </summary>
        public void RackComboFill()
        {
            try
            {

                List<DataTable> listObjRack = new List<DataTable>();
                RackBll BllRack = new RackBll();
                listObjRack = BllRack.RackViewAll();
                cmbRack.DataSource = listObjRack[0];
                cmbRack.ValueMember = "rackId";
                cmbRack.DisplayMember = "rackName";
            }
            catch (Exception ex)
            {
                MessageBox.Show("POS:14" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
 /// <summary>
 /// Function to view all rack combobox in grid
 /// </summary>
 public void RackGridComboFill()
 {
     try
     {
         List<DataTable> listObj = new List<DataTable>();
         RackBll BllRack = new RackBll();
         listObj = BllRack.RackViewAll();
         DataRow drow = listObj[0].NewRow();
         drow["rackName"] = string.Empty;
         drow["rackId"] = 0;
         listObj[0].Rows.InsertAt(drow, 0);
         dgvcmbrack.DataSource = listObj[0];
         dgvcmbrack.DisplayMember = "rackName";
         dgvcmbrack.ValueMember = "rackId";
     }
     catch (Exception ex)
     {
         MessageBox.Show("PC:55" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
 /// <summary>
 /// To fill rack combobox
 /// </summary>
 public void RackComboFill()
 {
     try
     {
         RackBll BllRack = new RackBll();
         List<DataTable> listObj = new List<DataTable>();
         listObj = BllRack.RackViewAll();
         DataRow dr = listObj[0].NewRow();
         dr["rackName"] = "All";
         dr["rackId"] = 0;
         listObj[0].Rows.InsertAt(dr, 0);
         cmbRack.DataSource = listObj[0];
         cmbRack.DisplayMember = "rackName";
         cmbRack.ValueMember = "rackId";
     }
     catch (Exception ex)
     {
         MessageBox.Show("SER:7" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
 /// <summary>
 /// Function to fill Rack combobox
 /// </summary>
 public void RackComboFill()
 {
     try
     {
         RackBll BllRack = new RackBll();
         List<DataTable> listObjRack = new List<DataTable>();
         listObjRack = BllRack.RackViewAll();
         cmbRack.DataSource = listObjRack[0];
         cmbRack.ValueMember = "rackId";
         cmbRack.DisplayMember = "rackName";
         SettingsBll BllSettings = new SettingsBll();
         if (BllSettings.SettingsStatusCheck("AllowRack") == "Yes")
         {
             cmbRack.Enabled = true;
         }
         else
         {
             cmbRack.Enabled = false;
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("MPC9:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }