protected void getInterviewdet() { Employee_pros pros = new Employee_pros(); List <string> details = pros.getInterviewById(int_id); candidate = details[0]; Label14.Text = pros.getPositionName(Int32.Parse(details[1])); Label16.Text = details[2]; Label18.Text = details[3]; Label20.Text = details[5]; Label22.Text = details[6]; Label26.Text = details[7]; Account ac = new Account(); List <string> cand_det = new List <string>(); cand_det = ac.getUserDetails(candidate); Label3.Text = cand_det[0]; Label5.Text = cand_det[1].Substring(0, 9); Label7.Text = cand_det[2]; Candidate_pros cpros = new Candidate_pros(); List <string> skills = new List <string>(); skills = cpros.getSkills(candidate); if (skills.Count != 0) { TextBox1.Text = skills[0]; TextBox2.Text = skills[1]; Label12.Text = skills[2]; TextBox3.Text = skills[3]; } List <string> fileName = new List <string>(); fileName = cpros.getFilesName(candidate); Label36.Text = fileName[0]; Label38.Text = fileName[1]; Label40.Text = fileName[2]; Label42.Text = fileName[3]; Interview_pros ipros = new Interview_pros(); List <string> scors = ipros.getInterviewScore(int_id); if (scors.Count == 5) { Label27.Text = scors[0]; Label29.Text = scors[1]; Label31.Text = scors[2]; Label33.Text = scors[3]; TextBox4.Text = scors[4]; } if (Label26.Text.TrimEnd().Equals("PENDING")) { ImageButton2.Visible = true; ImageButton3.Visible = true; } }
public void getFileNames() { Candidate_pros pros = new Candidate_pros(); List <string> names = pros.getFilesName(Session["user"].ToString().TrimEnd()); if (names[0].Length > 1) { Label3.Text = names[0]; } if (names[1].Length > 1) { Label5.Text = names[1]; } if (names[2].Length > 1) { Label7.Text = names[2]; } if (names[3].Length > 1) { Label9.Text = names[3]; } }