Пример #1
0
 private void PopulateSectionNoScore(string strname, string  StudentID)
 {
     int AssessmentOID=0;
     Sections section = new Sections();
     AssessmentOID = section.GetAssessmentOIDByAssessmentName(strname);
     GridViewScore.DataSource = section.GetSectionsWithNoScore(AssessmentOID, StudentID);
     GridViewScore.DataBind();
 }
Пример #2
0
    private void PopulateSection(string strname, string  StudentID)
    {
        int AssessmentOID=0;
        Sections section = new Sections();
        AssessmentOID = section.GetAssessmentOIDByAssessmentName(strname);
        Answer ans = new Answer();
        ans = ans.GetAnswerByAssessmentandStudentID(AssessmentOID, StudentID);
        if (ans != null)
        {
            lblDate.Text = Convert.ToString(ans.CreatedDate);

        }
        else
        {
            lblDate.Text = "";
        }
        GridViewSection.DataSource = section.GetSectionsWithScoreByAOID(AssessmentOID, lbtnID.Text.ToString());
        GridViewSection.DataBind();
    }