Example #1
0
        private List<SubArea> GetSubAreas()
        {
            List<SubArea> subAreas = new List<SubArea>();
            System.Data.DataSet dsAreas = null;
            FinalBuild.DataAccess objADO = new FinalBuild.DataAccess(Database.Connection.ConnectionString);
            string storedProcedure = "selAreaInformation";

            dsAreas = objADO.GetDataSet(storedProcedure, null);

            return subAreas;
        }
Example #2
0
        private System.Data.DataSet GetReportData(string storedProcedure)
        {
            System.Data.DataSet dsData = null;

            FinalBuild.DataAccess objADO = new FinalBuild.DataAccess();
            dsData = objADO.GetDataSet(storedProcedure, null);

            return dsData;
        }