Ejemplo n.º 1
0
        public bool DeteteDemographicDetails_BAL(int ID, string ModifiedBy, ref DataSet objDS)
        {
            //This will be returned back.
            bool bReturn = false;
            string m_strLastError;
            try
            {
                objAdminGBUSelectionDO = new clsDemographicDAL();
                //Call the data access function here

                if (objAdminGBUSelectionDO.DeteteDemographicDetailsDAL(ID, ModifiedBy, ref objDS))
                    bReturn = true;
                else
                {
                    //Get the last error from DA class here.
                    //m_strLastError = objAdminGBUSelectionDO.GetLastError();
                }
            }
            catch (Exception ex)
            {
                //Set the error to this variable
                m_strLastError = ex.StackTrace;
            }
            //Return the status here
            return bReturn;
        }
Ejemplo n.º 2
0
        public bool DeleteEnzymeData_BAL(int Id, string CreatedBy, int outputparam)
        {
            //This will be returned back.
            bool bReturn = false;
            string m_strLastError;
            try
            {
                objAdminGBUSelectionDO = new clsDemographicDAL();
                //Call the data access function here

                if (objAdminGBUSelectionDO.DeleteEnzymeDataDAL(Id, CreatedBy, outputparam))
                    bReturn = true;
                else
                {
                    //Get the last error from DA class here.
                    //m_strLastError = objAdminGBUSelectionDO.GetLastError();
                }
            }
            catch (Exception ex)
            {
                //Set the error to this variable
                m_strLastError = ex.StackTrace;
            }
            //Return the status here
            return bReturn;
        }
Ejemplo n.º 3
0
        public bool UpdateDemographic_BAL(DemographicInfo demogrpahic, bool IsOther, ref string strout ,ref DataSet objDS)
        {
            bool bReturn = false;
            string m_strLastError;
            try
            {
                objAdminGBUSelectionDO = new clsDemographicDAL();
                //Call the data access function here

                if (objAdminGBUSelectionDO.UpdateDemographicDAL(demogrpahic, IsOther,ref strout, ref objDS))
                    bReturn = true;
                else
                {
                    //Get the last error from DA class here.
                    //m_strLastError = objAdminGBUSelectionDO.GetLastError();
                }
            }
            catch (Exception ex)
            {
                //Set the error to this variable
                m_strLastError = ex.StackTrace;
            }
            //Return the status here
            return bReturn;
        }
Ejemplo n.º 4
0
 //public bool getFiscalYr_BAL(ref DataSet objDS)
 //{
 //    bool bReturn = false;
 //    string m_strLastError;
 //    try
 //    {
 //        objAdminGBUSelectionDO = new clsDemographicDAL();
 //        //Call the data access function here
 //        if (objAdminGBUSelectionDO.getFiscalYrDAL(ref objDS))
 //            bReturn = true;
 //        else
 //        {
 //            //Get the last error from DA class here.
 //            //m_strLastError = objAdminGBUSelectionDO.GetLastError();
 //        }
 //    }
 //    catch (Exception ex)
 //    {
 //        //Set the error to this variable
 //        m_strLastError = ex.StackTrace;
 //    }
 //    //Return the status here
 //    return bReturn;
 //}
 public DataTable GetDropDownValuesBAL(MyLookup.Dropdowns drpName,ref bool flagStatus)
 {
     objAdminGBUSelectionDO = new clsDemographicDAL();
     return objAdminGBUSelectionDO.GetDropDownValuesDAL(drpName, ref flagStatus);
 }
Ejemplo n.º 5
0
        public bool getCompaignInfo_BAL(int compid, ref DataSet objDS)
        {
            bool bReturn = false;
            string m_strLastError;
            try
            {
                objAdminGBUSelectionDO = new clsDemographicDAL();
                //Call the data access function here

                if (objAdminGBUSelectionDO.getCompaignInfoDAL(compid, ref objDS))
                    bReturn = true;
                else
                {
                    //Get the last error from DA class here.
                    //m_strLastError = objAdminGBUSelectionDO.GetLastError();
                }
            }
            catch (Exception ex)
            {
                //Set the error to this variable
                m_strLastError = ex.StackTrace;
            }
            //Return the status here
            return bReturn;
        }