Beispiel #1
0
        protected void bindExamCount()
        {
            DataTable dt = new DataTable();

            objML_StudentProfile.ID = Session["UserName"].ToString();
            dt = objBL_StudentProfile.BL_BindStudentExam(objML_StudentProfile);
            if (dt.Rows.Count > 0)
            {
                lblCountExam.Text = dt.Rows[0]["cnt"].ToString();
            }
            else
            {
                lblCountExam.Text = "0";
            }
        }