Пример #1
0
    protected void filldata()
    {
        Candidate_pros pros     = new Candidate_pros();
        List <string>  idetails = pros.getInterviewById(int_Id);
        Employee_pros  epros    = new Employee_pros();

        Label14.Text = epros.getPositionName(Int32.Parse(idetails[1]));
        poid         = Int32.Parse(idetails[1]);
        Label16.Text = idetails[2];
        Label18.Text = idetails[3];
        Label20.Text = idetails[5];
        Label22.Text = idetails[6];
        Label29.Text = idetails[7];
        Label26.Text = idetails[8];

        if (Label22.Text.Equals("0"))
        {
            Label22.Text    = "Not Done";
            Button1.Visible = true;
        }
        if (Label29.Text.TrimEnd().Equals("NOT_DONE"))
        {
            Button2.Visible = true;
        }

        Account ac = new Account();

        Label3.Text = ac.get_name(idetails[0]);
        List <string> company = ac.getCompanyDetails(idetails[0]);

        Label27.Text  = company[0];
        Label28.Text  = company[1];
        TextBox1.Text = company[2];
        Label7.Text   = company[3];
    }
Пример #2
0
    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];
    }