protected void Page_Load(object sender, EventArgs e) { //read and validate login if (Session["cuserval"] != null) { if (Session["cuserval"].ToString() == Readjobcookie()) { } else { Response.Redirect("login.aspx"); } } else { Response.Redirect("login.aspx"); } //////////////////////////////////// //bind grid var cmpg = new DlMainpagepopulator(); GridView1.DataSource = cmpg.Getmyapps(Session["pusername"].ToString()); GridView1.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { //read and validate login if (Session["cuserval"] != null) { if (Session["cuserval"].ToString() == Readjobcookie()) { } else { Response.Redirect("login.aspx"); } } else { Response.Redirect("login.aspx"); } if (Session["pusername"] != null) { //get employer id var mpg = new DlMainpagepopulator(); int emid = mpg.RecName(Session["pusername"].ToString()); var app = new DlApps(); //bind to grid GridView1.DataSource = app.GetApplication(emid); GridView1.DataBind(); } }
protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e) { //rebind grid var clmp = new DlMainpagepopulator(); GridView1.DataSource = clmp.Getmyapps(Session["pusername"].ToString()); GridView1.PageIndex = e.NewPageIndex; GridView1.DataBind(); }
protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e) { //get employer id var mpg = new DlMainpagepopulator(); int emid = mpg.RecName(Session["pusername"].ToString()); var apps = new DlApps(); GridView1.DataSource = apps.GetApplication(emid); GridView1.PageIndex = e.NewPageIndex; GridView1.DataBind(); }
protected void LinkButton5_Click(object sender, EventArgs e) { LinkButton4.CssClass = "StyleGray"; LinkButton5.CssClass = "StyleBlack"; //bind the grid with inactive jobs var mpop = new DlMainpagepopulator(); GridView1.DataSource = mpop.GetJobssinglearchived(mpop.RecName(Session["pusername"].ToString())); GridView1.DataBind(); HiddenField1.Value = "1"; }
protected void Page_Load(object sender, EventArgs e) { //read and validate login if (Session["cuserval"] != null) { if (Session["cuserval"].ToString() == Readjobcookie()) { } else { Response.Redirect("login.aspx"); } } else { Response.Redirect("login.aspx"); } //////////////////////////////////// //edit this page for recs var mpgp = new DlMainpagepopulator(); //get rec name if (HiddenField1.Value == "1") { GridView1.DataSource = mpgp.GetJobssinglearchived(mpgp.RecName(Session["pusername"].ToString())); GridView1.DataBind(); //set theimages Image12.ImageUrl = "~/images/red.png"; Image11.ImageUrl = "~/images/green.png"; } if (HiddenField1.Value == "2") { GridView1.DataSource = mpgp.GetJobssingle(mpgp.RecName(Session["pusername"].ToString())); GridView1.DataBind(); //set the images Image12.ImageUrl = "~/images/green.png"; Image11.ImageUrl = "~/images/red.png"; } else { GridView1.DataSource = mpgp.GetJobssinglearchived(mpgp.RecName(Session["pusername"].ToString())); GridView1.DataBind(); } }
protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e) { //edit this page for recs var mpgp = new DlMainpagepopulator(); if (HiddenField1.Value == "1") { //get rec name GridView1.DataSource = mpgp.GetJobssinglearchived(mpgp.RecName(Session["pusername"].ToString())); GridView1.PageIndex = e.NewPageIndex; GridView1.DataBind(); } else { GridView1.DataSource = mpgp.GetJobssingle(mpgp.RecName(Session["pusername"].ToString())); GridView1.DataBind(); } }
protected void Page_Init(object sender, EventArgs e) { var mp = new DlMainpagepopulator(); //get locations CheckBoxList2.DataSource = mp.GetLocations(); CheckBoxList2.DataTextField = "sTerm"; CheckBoxList2.DataValueField = "Termid"; CheckBoxList2.DataBind(); //get industry CheckBoxList1.DataSource = mp.GetIndustries(); CheckBoxList1.DataTextField = "sTerm"; CheckBoxList1.DataValueField = "Termid"; CheckBoxList1.DataBind(); //get salary CheckBoxList6.DataSource = mp.Getsalaries(); CheckBoxList6.DataTextField = "sTerm"; CheckBoxList6.DataValueField = "Termid"; CheckBoxList6.DataBind(); }
public void Page_Init(object sender, EventArgs e) { //constructor var mp = new DlMainpagepopulator(); //populate left //get salaries CheckBoxList6.DataSource = mp.GetSalary(); CheckBoxList6.DataTextField = "sTerm"; CheckBoxList6.DataValueField = "Termid"; CheckBoxList6.DataBind(); //get locations CheckBoxList2.DataSource = mp.GetLocations(); CheckBoxList2.DataTextField = "sTerm"; CheckBoxList2.DataValueField = "Termid"; CheckBoxList2.DataBind(); //get industry CheckBoxList1.DataSource = mp.GetIndustries(); CheckBoxList1.DataTextField = "sTerm"; CheckBoxList1.DataValueField = "Termid"; CheckBoxList1.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { //set default inputs TextBox2.Focus(); Page.Form.DefaultButton = Button2.UniqueID; if (!IsPostBack) { if (Session["pusername"] != null) { int fg = Convert.ToInt16(Request.QueryString["Fg"]); var mpage = new DlMainpagepopulator(); int recsid = mpage.RecName(Session["pusername"].ToString()); if (fg == 1) { //disable required fields RequiredFieldValidator9.Enabled = false; RequiredFieldValidator11.Enabled = false; //read and validate login if (Session["cuserval"] != null) { if (Session["cuserval"].ToString() == Readjobcookie()) { } else { Response.Redirect("login.aspx"); } } else { Response.Redirect("login.aspx"); } //////////////////////////////////// string[] arr = mpage.RecDetails(Session["pusername"].ToString()); TextBox2.Text = arr[0]; TextBox3.Text = arr[1]; TextBox10.Text = arr[2]; TextBox4.Text = arr[3]; TextBox5.Text = arr[4]; TextBox6.Text = arr[5]; TextBox7.Text = arr[6]; TextBox8.Text = arr[7]; //TextBox9.Text = arr[8]; TextBox9.Text = arr[9]; TextBox12.Text = arr[10]; TextBox13.Text = arr[11]; TextBox11.Text = Session["pusername"].ToString(); TextBox11.Enabled = false; TextBox14.Text = arr[15]; TextBox16.Text = arr[14]; TextBox15.Text = arr[13]; TextBox12.Enabled = false; TextBox13.Enabled = false; TextBox17.Enabled = false; Button3.Visible = false; } // featured recurites var frs = new DlFeaturedrecruiters(); //get recruters image Image8.Visible = true; Image8.ImageUrl = frs.Getrecformimage(recsid); } else { Image8.Visible = false; } } }
protected void Page_Load(object sender, EventArgs e) { //read and validate login if (Session["cuserval"] != null) { if (Session["cuserval"].ToString() == Readjobcookie()) { } else { Response.Redirect("login.aspx"); } } else { Response.Redirect("login.aspx"); } //////////////////////////////////// //set zoom levels for all charts int xzoom = Convert.ToInt32(zoomer.SelectedItem.Value); Chart1.Width = xzoom; jobapps.Width = xzoom; jobpostedview.Width = xzoom; //get recruiter id var clmpop = new DlMainpagepopulator(); int rectempid = clmpop.RecName(Session["pusername"].ToString()); //get jobviews var cljview = new DlJobviewdata(); Chart1.DataSource = cljview.GetJobviewdata(rectempid); Chart1.Series["Series1"].YValueMembers = "jobviews"; Chart1.Series["Series1"].XValueMember = "dateviewed"; Chart1.Series["Series1"].MarkerStyle = MarkerStyle.Circle; Chart1.Series["Series1"].MarkerSize = 3; Chart1.Series["Series1"].MarkerColor = Color.Black; Chart1.Series["Series1"].ChartType = SeriesChartType.Line; Chart1.DataBind(); //get applications made jobapps.DataSource = cljview.Getappviewdata(rectempid); jobapps.Series["Series1"].YValueMembers = "jobviews"; jobapps.Series["Series1"].XValueMember = "dateviewed"; jobapps.Series["Series1"].MarkerStyle = MarkerStyle.Circle; jobapps.Series["Series1"].MarkerSize = 3; jobapps.Series["Series1"].MarkerColor = Color.Black; jobapps.Series["Series1"].ChartType = SeriesChartType.Line; jobapps.DataBind(); //get posted jobs jobpostedview.DataSource = cljview.Getpjjobviewdata(rectempid); jobpostedview.Series["Series1"].YValueMembers = "jobviews"; jobpostedview.Series["Series1"].XValueMember = "dateviewed"; jobpostedview.Series["Series1"].MarkerStyle = MarkerStyle.Circle; jobpostedview.Series["Series1"].MarkerSize = 3; jobpostedview.Series["Series1"].MarkerColor = Color.Black; jobpostedview.Series["Series1"].ChartType = SeriesChartType.Line; jobpostedview.DataBind(); }
protected void Button2_Click(object sender, EventArgs e) { //set culture to british //modify here in future if this needs to be set to us formats var cinf = new CultureInfo("en-GB"); DateTime dobsdate = Convert.ToDateTime(TextBox17.Text, cinf); string dobdate1 = dobsdate.ToString("MM/dd/yyyy"); var clog = new DlLogins(); if (Request.QueryString["CRF"] == "1") { if (clog.Checkcanusern(TextBox11.Text) != TextBox11.Text) { //add users var mpg = new DlMainpagepopulator(); var phash = new ClPwdhash(); int mxuserid = mpg.Maxuserid(); int mxcandidateid = mpg.Maxcandidateid(); string hashpwd = phash.GetMd5Hash(TextBox12.Text); //add activation id and send it in email var rands1 = new Random(); string makehashp = phash.GetMd5Hash(rands1.Next(10000, 100000).ToString(CultureInfo.InvariantCulture)); //add users mpg.Insertusers(TextBox11.Text, TextBox2.Text, 1, TextBox3.Text, hashpwd, 2, mxuserid, TextBox13.Text, mxcandidateid, makehashp); //add candidates mpg.Insertcandidates(mxcandidateid, TextBox2.Text + " " + TextBox3.Text, TextBox2.Text, TextBox3.Text, TextBox4.Text, TextBox5.Text, TextBox6.Text, TextBox7.Text, TextBox8.Text, TextBox16.Text, TextBox9.Text, "", TextBox14.Text, TextBox15.Text, DateTime.Now.ToString("yyyy:MM:dd hh:mm:ss"), dobdate1); //send email. var emproc = new DlEmailprocessor(); //make email body string emailbod = emproc.Emailactivateusr( "https://ahrcloud.com/ActivateAccount.aspx?activationid=" + makehashp + "&usertype=2&username="******"AHRCLOUD: Account Activation!", emailbod, 3); //logg it as the entry for email emproc.Sendappemaildbupdate(TextBox11.Text, 2); Session["reasons"] = "Thank your for signing up, you are awsome! <br /> Please check your email to activate your account. <br /> "; //redirect to confirmation page Response.Redirect("~/confirm.aspx"); } else { Label26.Visible = true; } } else { //update candidates for required id //update users table var ccan = new DlCandidates(); //update candidates table ccan.Runcandidateupdate(TextBox2.Text, TextBox3.Text, TextBox4.Text, TextBox5.Text, TextBox6.Text, TextBox7.Text, TextBox8.Text, TextBox16.Text, dobdate1, TextBox9.Text, TextBox14.Text, TextBox15.Text, Session["pusername"].ToString()); } }
protected void Page_Load(object sender, EventArgs e) { //set default inputs TextBox2.Focus(); Page.Form.DefaultButton = Button2.UniqueID; if (!IsPostBack) { if (Request.QueryString["CRF"] == "1") { } else { //request for login //read and validate login if (Session["cuserval"] != null) { if (Session["cuserval"].ToString() == Readjobcookie()) { } else { Response.Redirect("login.aspx"); } } else { Response.Redirect("login.aspx"); } //////////////////////////////////// //load job seeker settings //update job seeker user details TextBox11.Enabled = false; TextBox12.Enabled = false; TextBox13.Enabled = false; Button3.Visible = false; TextBox18.Enabled = false; //change required field validators RequiredFieldValidator7.Enabled = false; RequiredFieldValidator9.Enabled = false; //load array for user details var clmpages = new DlMainpagepopulator(); string[] arrs = clmpages.Getcandidatedetails(Session["pusername"].ToString()); TextBox2.Text = arrs[0]; TextBox3.Text = arrs[1]; TextBox4.Text = arrs[2]; TextBox5.Text = arrs[3]; TextBox6.Text = arrs[4]; TextBox7.Text = arrs[5]; TextBox8.Text = arrs[6]; TextBox16.Text = arrs[7]; TextBox9.Text = arrs[8]; var cinf = new CultureInfo("pt-BR"); TextBox17.Text = Convert.ToDateTime(arrs[11]).ToString("d", cinf); TextBox15.Text = arrs[10]; TextBox14.Text = arrs[9]; TextBox11.Text = Session["pusername"].ToString(); TextBox12.Text = "XXXXXXXX"; TextBox13.Text = "N/A"; } } }
protected void Page_Load(object sender, EventArgs e) { var mpage = new DlMainpagepopulator(); if (Request.QueryString["JobID"] != null) { int tempjobid = Convert.ToInt16(Request.QueryString["JobID"]); string[] Plc = mpage.Getdetailspage(tempjobid); Label11.Text = "Job Description"; Label32.Text = Plc[0]; Label26.Text = Plc[1]; Label18.Text = Plc[2]; Label30.Text = Plc[5]; Label31.Text = Plc[6]; Label21.Text = Plc[4]; var culinf = new CultureInfo("pt-BR"); Label23.Text = Convert.ToDateTime(Plc[3]).ToString("d", culinf); //get locations Label19.Text = mpage.Getdetailspagecats(tempjobid, 1000); //get salary Label20.Text = mpage.Getdetailspagecats(tempjobid, 1005, 0); //get contract type Label22.Text = mpage.Getdetailspagecats(tempjobid, 1002); //hours Labelhrs.Text = mpage.Getdetailspagecats(tempjobid, 1003); //industry Labelindustry.Text = mpage.Getdetailspagecats(tempjobid, 1001); //employer Labeletype.Text = mpage.Getdetailspagecats(tempjobid, 1004); //get rec logo string recid = Plc[7]; Image7.ImageUrl = mpage.Getcurrrec(recid); //get contact person name if any var contactpname = string.Empty; var rcl2 = new DlRecruiter(); if (Request.QueryString["JobID"] != null) { contactpname = rcl2.Contactperson(Request.QueryString["JobID"]); if (contactpname != "") { Label27.Text = contactpname; } } //update job views for recruiter graph var cljb = new DlJobviewdata(); cljb.Addview(Convert.ToInt16(recid), DateTime.Now.ToString("yyyy:MM:dd hh:mm:ss")); } }
protected void Button1_Click(object sender, EventArgs e) { //set culture to british //modify here in future if this needs to be set to us formats var cinf = new CultureInfo("en-GB"); DateTime startdate = Convert.ToDateTime(TextBox3.Text, cinf); DateTime enddate = Convert.ToDateTime(TextBox4.Text, cinf); string sdate = startdate.ToString("MM/dd/yyyy"); string edate = enddate.ToString("MM/dd/yyyy"); if (Request.QueryString["jobid"] != null) { #region updatejobs var mpage = new DlMainpagepopulator(); int recid = mpage.RecName(Session["pusername"].ToString()); int mxjobsid = Convert.ToInt16(Request.QueryString["jobid"]); //update job mpage.Updatejobs(mxjobsid, TextBox1.Text, TextBox2.Text, Editor1.Text, TextBox5.Text, 0, 0, TextBox6.Text, sdate, edate); mpage.Deletejobs(mxjobsid); //insert location foreach (ListItem listite1 in CheckBoxList2.Items.Cast <ListItem>().Where(listite1 => listite1.Selected)) { //insert mpage.Insertjobmapping(mxjobsid, 1000, Convert.ToInt16(listite1.Value), recid); } //industry foreach (ListItem listitems3 in CheckBoxList1.Items.Cast <ListItem>().Where(listitems3 => listitems3.Selected)) { mpage.Insertjobmapping(mxjobsid, 1001, Convert.ToInt16(listitems3.Value), recid); } //insert contract foreach (ListItem listitems2 in CheckBoxList3.Items.Cast <ListItem>().Where(listitems2 => listitems2.Selected)) { //insert cats mpage.Insertjobmapping(mxjobsid, 1002, Convert.ToInt16(listitems2.Value), recid); } //insert hours foreach (ListItem listitems4 in CheckBoxList7.Items.Cast <ListItem>().Where(listitems4 => listitems4.Selected)) { mpage.Insertjobmapping(mxjobsid, 1003, Convert.ToInt16(listitems4.Value), recid); } //employer direct of agency foreach (ListItem listitems5 in CheckBoxList8.Items.Cast <ListItem>().Where(listitems5 => listitems5.Selected)) { mpage.Insertjobmapping(mxjobsid, 1004, Convert.ToInt16(listitems5.Value), recid); } //insert salary foreach (ListItem listitems6 in CheckBoxList6.Items.Cast <ListItem>().Where(listitems6 => listitems6.Selected)) { mpage.Insertjobmapping(mxjobsid, 1005, Convert.ToInt16(listitems6.Value), recid); } //end update #endregion updatejobs } else { #region addjobs //add jobs var mpage = new DlMainpagepopulator(); int recid = mpage.RecName(Session["pusername"].ToString()); int mxjobsid = mpage.Getmaxjobid(); //insert job mpage.Insertjobs(mxjobsid, TextBox1.Text, TextBox2.Text, Editor1.Text, TextBox5.Text, 0, 0, TextBox6.Text, sdate, edate); //insert default job mpage.Insertjobmapping(mxjobsid, 10000, 10000, recid); //insert location foreach (ListItem listite1 in CheckBoxList2.Items.Cast <ListItem>().Where(listite1 => listite1.Selected)) { //insert categories mpage.Insertjobmapping(mxjobsid, 1000, Convert.ToInt16(listite1.Value), recid); } //industry foreach (ListItem listitems3 in CheckBoxList1.Items.Cast <ListItem>().Where(listitems3 => listitems3.Selected)) { mpage.Insertjobmapping(mxjobsid, 1001, Convert.ToInt16(listitems3.Value), recid); } //insert contract foreach (ListItem listitems2 in CheckBoxList3.Items.Cast <ListItem>().Where(listitems2 => listitems2.Selected)) { //insert cats mpage.Insertjobmapping(mxjobsid, 1002, Convert.ToInt16(listitems2.Value), recid); } //insert hours foreach (ListItem listitems4 in CheckBoxList7.Items.Cast <ListItem>().Where(listitems4 => listitems4.Selected)) { mpage.Insertjobmapping(mxjobsid, 1003, Convert.ToInt16(listitems4.Value), recid); } //employer direct of agency foreach (ListItem listitems5 in CheckBoxList8.Items.Cast <ListItem>().Where(listitems5 => listitems5.Selected)) { mpage.Insertjobmapping(mxjobsid, 1004, Convert.ToInt16(listitems5.Value), recid); } //insert salary foreach (ListItem listitems6 in CheckBoxList6.Items.Cast <ListItem>().Where(listitems6 => listitems6.Selected)) { mpage.Insertjobmapping(mxjobsid, 1005, Convert.ToInt16(listitems6.Value), recid); } //end adding jobs #endregion addjobs } }
protected void Button2_Click(object sender, EventArgs e) { if (capts.Text == Session["capts"].ToString()) { //check if the current user exists in the database var lgeins = new DlLogins(); _fg = Convert.ToInt16(Request.QueryString["Fg"]); if (_fg == 1) { //update //update user rec information var yohrecl = new DlRecruiter(); yohrecl.Runrecuserupdate(TextBox2.Text, TextBox3.Text, Session["pusername"].ToString()); //update logo if (FileUpload1.PostedFile.FileName.Length > 1) { //get current article id for the logo. int tmpartid = yohrecl.Getarticleids(Session["pusername"].ToString()); //save to hlogo string hlogo = ConfigurationManager.AppSettings["filepth"] + tmpartid + FileUpload1.PostedFile.FileName; //update articles FileUpload1.PostedFile.SaveAs(hlogo); //update articles in db yohrecl.Runreclogoupdate(hlogo, "Recruiter Logo", Session["pusername"].ToString()); } //update recruiters own information yohrecl.Runrectableupdate(TextBox4.Text, TextBox5.Text, TextBox6.Text, TextBox7.Text, TextBox8.Text, TextBox9.Text, TextBox10.Text, TextBox15.Text, TextBox16.Text, TextBox14.Text, Session["pusername"].ToString()); } else { if (lgeins.Checkrecusern(TextBox11.Text) != TextBox11.Text) { //insert var mps = new DlMainpagepopulator(); var pwds = new ClPwdhash(); var arc = new DlArticles(); int getmaxrec = mps.RecHasRows() + 1; int getmaxrecarticles = getmaxrec + 10000000; int getmaxrecuserid = getmaxrec + 20000000; var rnd23 = new Random(); string shahsp = pwds.GetMd5Hash(rnd23.Next(10000, 100000).ToString(CultureInfo.InvariantCulture)); //set email body var emaps = new DlEmailprocessor(); string ebod1 = emaps.Emailactivateusr( "https://ahrcloud.com/ActivateAccount.aspx?activationid=" + shahsp + "&usertype=1&username="******"GB", TextBox9.Text, TextBox11.Text, TextBox15.Text, TextBox16.Text, TextBox14.Text, DateTime.Now.ToString("yyyy:MM:dd hh:mm:ss"), 1, getmaxrecarticles); //users and pwds string md5h = pwds.GetMd5Hash(TextBox12.Text); mps.Insertusers(TextBox11.Text, TextBox2.Text, 1, TextBox3.Text, md5h, 1, getmaxrecuserid, "hint", -1, shahsp); //employee logo string holdlogo = Path.GetFileName(FileUpload1.PostedFile.FileName); arc.AddArticle(getmaxrecarticles, holdlogo, ConfigurationManager.AppSettings["filepth"] + getmaxrecarticles + holdlogo); //real upload FileUpload1.PostedFile.SaveAs(ConfigurationManager.AppSettings["filepth"] + getmaxrecarticles + holdlogo); //user recruiter assignments mps.Insertrecusermapping(getmaxrecuserid, getmaxrec); //finally send out the email emaps.Clemail.Sendmailproc(TextBox11.Text, "AHRCLOUD: Account Activation!", ebod1, 4); //logg it as the entry for email emaps.Sendappemaildbupdate(TextBox11.Text, 1); } else { //user already exists Label24.Visible = true; } } } else { Label31.Text = "please retype the captcha as shown in grey box!"; } }
protected void Page_Load(object sender, EventArgs e) { //set default inputs TextBox1.Focus(); Page.Form.DefaultButton = Button1.UniqueID; //read and validate login if (Session["cuserval"] != null) { if (Session["cuserval"].ToString() == Readjobcookie()) { } else { Response.Redirect("login.aspx"); } } else { Response.Redirect("login.aspx"); } var mp = new DlMainpagepopulator(); var _jobc = new DlJobs(); if (!IsPostBack) { // if (Request.QueryString["jobid"] != null) { int editjobid = Convert.ToInt16(Request.QueryString["JobID"]); //get recid int recid = mp.RecName(Session["pusername"].ToString()); //check if this job belongs to current recruiter if (_jobc.Checkrecruiter(editjobid) != recid) { Response.Redirect("rechome.aspx"); } //fill in form. var arrfil = mp.Filljobform(editjobid); // TextBox1.Text = arrfil[0]; TextBox2.Text = arrfil[1]; var cinf = new CultureInfo("pt-BR"); TextBox3.Text = Convert.ToDateTime(arrfil[2]).ToString("d", cinf); TextBox4.Text = Convert.ToDateTime(arrfil[3]).ToString("d", cinf); TextBox5.Text = arrfil[4]; TextBox6.Text = arrfil[5]; Editor1.Text = arrfil[6]; #region populatemultitexts //set constructor var cljbs = new DlJobs(); var __al = new ArrayList(); __al = cljbs.Getmultitexts(editjobid); foreach (int arritem in from string __arritem in __al select Convert.ToInt32(__arritem)) { if (arritem >= 5000 && arritem < 6000) { //industry CheckBoxList1.Items.FindByValue(arritem.ToString(CultureInfo.InvariantCulture)).Selected = true; } if (arritem > 4000 && arritem < 5000) { //locations CheckBoxList2.Items.FindByValue(arritem.ToString(CultureInfo.InvariantCulture)).Selected = true; } if (arritem == 3000 || arritem == 3001 || arritem == 3002) { //contract CheckBoxList3.Items.FindByValue(arritem.ToString(CultureInfo.InvariantCulture)).Selected = true; } if (arritem >= 6000 && arritem < 7000) { //salary CheckBoxList6.Items.FindByValue(arritem.ToString(CultureInfo.InvariantCulture)).Selected = true; } if (arritem == 3003 || arritem == 3004) { //hours CheckBoxList7.Items.FindByValue(arritem.ToString(CultureInfo.InvariantCulture)).Selected = true; } if (arritem == 7000 || arritem == 7001) { //employement type CheckBoxList8.Items.FindByValue(arritem.ToString(CultureInfo.InvariantCulture)).Selected = true; } } #endregion populatemultitexts } } }