Exemplo n.º 1
0
 public void repBind()
 {
     if (Request.Params["TutorialType"] == "Sound")
     {
         PanelSound.Visible  = true;
         PanelVideo.Visible  = false;
         RepSound.DataSource = sb.selSearchSound(Request.Params["TypeID"], "", dataPaging1.PageIndex, dataPaging1.PageSize);
         RepSound.DataBind();
     }
     else
     {
         PanelSound.Visible  = false;
         PanelVideo.Visible  = true;
         RepVideo.DataSource = vb.selSearchVideo(Request.Params["TypeID"], "", dataPaging1.PageIndex, dataPaging1.PageSize);
         RepSound.DataBind();
     }
 }