using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using DTO; using BAL; using System.Drawing; public partial class _Default : System.Web.UI.Page { BlProduct balProductObj = new BlProduct(); protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BindAllNewArrivalsProduct(); BindAllSuperSaversProduct(); BindAllMostPopularProduct(); } } void BindAllNewArrivalsProduct() { dlproduct.DataSource = balProductObj.SelectALLNewArrivalProduct(); dlproduct.DataBind(); } void BindAllSuperSaversProduct() { dlSuperSavers.DataSource = balProductObj.SelectALLSuperSaversProduct(); dlSuperSavers.DataBind(); } void BindAllMostPopularProduct() { dlMostPopular.DataSource = balProductObj.SelectALLMostPopularProduct(); dlMostPopular.DataBind(); } }