示例#1
0
 public void ActiveDeactiveCareerJob(int CareerJobID)
 {
     using (AustraliaDAL.DataSet1TableAdapters.tblCareerJobTableAdapter objCareerJob = new AustraliaDAL.DataSet1TableAdapters.tblCareerJobTableAdapter())
     {
         objCareerJob.ActiveDeactiveCareerJob(CareerJobID);
     }
 }
示例#2
0
        public DataTable GetAllCareerJob(int CareerJobID)
        {
            DataTable dt = new DataTable();

            using (AustraliaDAL.DataSet1TableAdapters.tblCareerJobTableAdapter objCareerJob = new AustraliaDAL.DataSet1TableAdapters.tblCareerJobTableAdapter())
            {
                dt = objCareerJob.GetAllCareerJob(CareerJobID);
            }
            return(dt);
        }
示例#3
0
        public int AddEditCareerJob(int CareerJobID, string Title, string Qualification, string jobType, string Location, string Experience, int NoOfPosition, string Skills)
        {
            int       id;
            DataTable dt = new DataTable();

            using (AustraliaDAL.DataSet1TableAdapters.tblCareerJobTableAdapter objCareerJob = new AustraliaDAL.DataSet1TableAdapters.tblCareerJobTableAdapter())
            {
                dt = objCareerJob.AddEditCareerJob(CareerJobID, Title, Qualification, jobType, Location, Experience, NoOfPosition, Skills);
            }
            id = Convert.ToInt32(dt.Rows[0]["CareerJobID"].ToString());
            return(id);
        }