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_team(); bind_Operations_Team(); bind_Training_Team(); bind_Sales_Marketing(); } public void bind_team() { obj = new PRPSetup(); b = new clsBLSetup(); List lst1 = new List(); obj.catID = "1028"; lst1 = b.view_TextDetail(obj); if (lst1.Count > 0) { reptteam.DataSource = lst1; reptteam.DataBind(); } } public void bind_Operations_Team() { obj = new PRPSetup(); b = new clsBLSetup(); List lst1 = new List(); obj.catID = "11038"; lst1 = b.view_TextDetail(obj); if (lst1.Count > 0) { reptoperationteam.DataSource = lst1; reptoperationteam.DataBind(); } } public void bind_Training_Team() { obj = new PRPSetup(); b = new clsBLSetup(); List lst1 = new List(); obj.catID = "11039"; lst1 = b.view_TextDetail(obj); if (lst1.Count > 0) { repttrainingteam.DataSource = lst1; repttrainingteam.DataBind(); } } public void bind_Sales_Marketing() { obj = new PRPSetup(); b = new clsBLSetup(); List lst1 = new List(); obj.catID = "11040"; lst1 = b.view_TextDetail(obj); if (lst1.Count > 0) { reptmarketingteam.DataSource = lst1; reptmarketingteam.DataBind(); } } }