protected void loadInterviews() { Employee_pros pros = new Employee_pros(); List <List <string> > det = pros.getInterviewDetails(Session["user"].ToString().TrimEnd()); int pid = 0; for (int i = 0; i < det.Count; i++) { if (i > 4) { return; } for (int j = 0; j < 4; j++) { if (j == 1) { Table1.Rows[i + 1].Cells[j].Text = pros.getPositionName(Int32.Parse(det[i][j])); if (i == 0) { pid = Int32.Parse(det[i][j]); } } else { Table1.Rows[i + 1].Cells[j].Text = det[i][j]; } } } Label5.Text = Table1.Rows[1].Cells[0].Text; Label6.Text = Table1.Rows[1].Cells[1].Text; intid = pros.getInterviewId(Session["user"].ToString().TrimEnd(), Label5.Text, pid); Session["intid"] = intid; }