コード例 #1
0
        public List <DataTable> DebitNoteMasterViewAllWithSlNo()
        {
            List <DataTable> listObj = new List <DataTable>();

            try
            {
                listObj = spDebitNoteMaster.DebitNoteMasterViewAllWithSlNo();
            }
            catch (Exception ex)
            {
                MessageBox.Show("DNBLL:5" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(listObj);
        }
コード例 #2
0
 /// <summary>
 /// Function to fill Datagridview
 /// </summary>
 public void DebitNoteRegisterGridFill()
 {
     try
     {
         DataTable         dtbl = new DataTable();
         DebitNoteMasterSP spDebitNoteMaster = new DebitNoteMasterSP();
         dtbl = spDebitNoteMaster.DebitNoteMasterViewAllWithSlNo();
         dgvDebitNoteRegister.DataSource = dtbl;
     }
     catch (Exception ex)
     {
         MessageBox.Show("DNTREG1:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }