public List <DataTable> AreaOnlyViewAll()
        {
            List <DataTable> listObj = new List <DataTable>();

            try
            {
                listObj = SpArea.AreaOnlyViewAll();
            }
            catch (Exception ex)
            {
                MessageBox.Show("AR1" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(listObj);
        }
示例#2
0
 /// <summary>
 /// Function to fill area datagridview
 /// </summary>
 public void AreaGridfill()
 {
     try
     {
         DataTable dtbl   = new DataTable();
         AreaSP    spArea = new AreaSP();
         dtbl = spArea.AreaOnlyViewAll();
         dgvArea.DataSource = dtbl;
     }
     catch (Exception ex)
     {
         MessageBox.Show("AR1" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }