using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using nmsSetup; public partial class Default2 : System.Web.UI.Page { clsBLSetup b; PRPSetup obj; protected void Page_Load(object sender, EventArgs e) { bind_coursecategory(); } public void bind_coursecategory() { obj = new PRPSetup(); b = new clsBLSetup(); List lst = new List(); obj.id = "0"; //view_category_by_sanjay lst = b.ViewAllCategory(obj); string str = ""; if (lst.Count > 0) { ReptCoursegirds.DataSource = lst; ReptCoursegirds.DataBind(); } // ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "Confirm", "", true); //ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "script", "Confirm();", true); //Page.ClientScript.RegisterStartupScript(this.GetType(), "CallMyFunction", "myfucntions()", true); } }