private void BindData(int PageIndex)
        {
            GroupProductModel model = new GroupProductBll().GetModel(ProductID);

            Literal_ProductName.Text = model.ProductName;

            int RecordCount = 0;
            GridView1.DataSource = bll.GetList(PageIndex, AspNetPager.PageSize, " and groupproductid = " + ProductID, out RecordCount);
            GridView1.DataBind();

            AspNetPager.RecordCount = RecordCount;
        }
Example #2
0
        private void BindData(int PageIndex)
        {
            GroupProductModel model = new GroupProductBll().GetModel(ProductID);

            Literal_ProductName.Text = model.ProductName;

            int RecordCount = 0;

            GridView1.DataSource = bll.GetList(PageIndex, AspNetPager.PageSize, " and groupproductid = " + ProductID, out RecordCount);
            GridView1.DataBind();

            AspNetPager.RecordCount = RecordCount;
        }