Ejemplo n.º 1
0
    private void BindProduct()
    {
        DataTable dt = new DataTable();

        dt = objProduct.GetProductTop4Featured(0);
        repFeaturedProducts.DataSource = dt;
        repFeaturedProducts.DataBind();

        DataTable dt1 = new DataTable();

        dt1 = objProduct.GetProductTop4Popular(0);
        repPopularProducts.DataSource = dt1;
        repPopularProducts.DataBind();

        DataTable dt2 = new DataTable();

        dt2 = objProduct.GetProductTop4Latest(0);
        repNewProducts.DataSource = dt2;
        repNewProducts.DataBind();
    }