Exemplo n.º 1
0
        public DataSet DL_GetData(EWA_Dashbord objEWA)
        {
            DataSet ds = new DataSet();

            try
            {
                prmList    = new string[4];
                prmList[0] = "@Action";
                prmList[1] = "GetDashBordData";
                prmList[2] = "@OrgID";
                prmList[3] = objEWA.OrgId.ToString();

                ds = ObjHelper.FillControl(prmList, "SP_ChartData");
                if (ds.Tables[0].Rows.Count > 0 || ds.Tables[1].Rows.Count > 0)
                {
                    return(ds);
                }
                else
                {
                    ds = null;
                }
                return(ds);
            }
            catch (Exception exp)
            {
                throw exp;
            }
        }
Exemplo n.º 2
0
        public DataSet GetData(EWA_Dashbord objEWA)
        {
            DataSet dt = new DataSet();

            dt = objDL.DL_GetData(objEWA);

            return(dt);
        }