protected void fillInfo() { Employee_pros pros = new Employee_pros(); Label3.Text = pros.getPositionName(pos_id); Label4.Text = pros.getRequierment(pos_id); Candidate_pros cpros = new Candidate_pros(); List <string> det = cpros.getInterviewById(int_id); dur = Int32.Parse(det[4]); Account ac = new Account(); List <string> d = ac.getCompanyDetails(det[0]); Label1.Text = d[0]; }
protected void get_info() { Account ac = new Account(); Label1.Text = ac.get_name(candidate); Employee_pros epros = new Employee_pros(); int positionId = epros.getInterviewPositionId(int_id); Label3.Text = epros.getPositionName(positionId); Label4.Text = epros.getRequierment(positionId); Label2.Text = ac.getBd(candidate).ToString().Substring(0, 9); Candidate_pros cpros = new Candidate_pros(); List <string> skills = cpros.getSkills(candidate); TextBox1.Text = skills[0]; TextBox2.Text = skills[2]; TextBox3.Text = skills[1]; Label11.Text = skills[3]; }