Beispiel #1
0
        private void Load_Activity()
        {
            try
            {
                DataTable dt = objBatchActivity_DL.GetView_ToTransfer_Secondary(Convert.ToInt32(BatchActivity.Status.SecondaryPacking_Finish));

                objSourceActivityList.DataSource = dt;
                dgvActivity.AutoGenerateColumns  = false;
                dgvActivity.DataSource           = objSourceActivityList;
                objSourceActivityList.ResetBindings(true);



                // SetColors();
            }
            catch (Exception)
            {
                MessageBox.Show(this, "Error occured while loading Batch List", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
        }