Пример #1
0
 private void Grade()
 {
     LearnSite.BLL.Room room = new LearnSite.BLL.Room();
     DDLcobj.DataSource     = room.GetAllGrade();
     DDLcobj.DataTextField  = "Rgrade";
     DDLcobj.DataValueField = "Rgrade";
     DDLcobj.DataBind();
 }
Пример #2
0
 private void Grade()
 {
     LearnSite.BLL.Room room = new LearnSite.BLL.Room();
     DDLcobj.DataSource     = room.GetAllGrade();
     DDLcobj.DataTextField  = "Rgrade";
     DDLcobj.DataValueField = "Rgrade";
     DDLcobj.DataBind();
     if (Request.QueryString["Cgrade"] != null)
     {
         DDLcobj.SelectedValue = Request.QueryString["Cgrade"].ToString();
     }
 }