private void Show()
 {
     Person myPerson = new Person();
     DTeacher dTeacher = new DTeacher(myPerson.people_id);
     DataTable dt = dTeacher.GetGradeList();
     DataList1.DataSource = dt;
     DataList1.DataBind();
 }
Ejemplo n.º 2
0
 private void ShowGrade()
 {
     DTeacher dTeacher = new DTeacher(_myPerson.people_id);
     DataTable dtGrade = dTeacher.GetGradeList();
     cblGrade.DataTextField = "GradeFullName";
     cblGrade.DataValueField = "grade_id";
     cblGrade.DataSource = dtGrade;
     cblGrade.DataBind();
 }