using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using nmsSetup; using System.Data; using System.IO; public partial class Default2 : System.Web.UI.Page { clsBLSetup b; PRPSetup obj; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { bind_links(); } } public void bind_links() { obj = new PRPSetup(); b = new clsBLSetup(); List lst = new List(); if (Page.RouteData.Values["uid"] != null) { obj.uniID = Page.RouteData.Values["uid"].ToString(); if (obj.uniID == "1") { // me_more.Visible = true; } } lst = b.view_fullcoursecategory_detail(obj); string str = ""; if (lst.Count > 0) { Replist.DataSource = lst; Replist.DataBind(); } } }