Пример #1
0
        private void DisplayHomeRecords()
        {
            clsHomeProductCollection Record = new clsHomeProductCollection();

            Home.DataSource = Record.HomeProductList;
            Home.DataBind();
        }
Пример #2
0
        protected void Home_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
            Home.PageIndex = e.NewPageIndex;
            clsHomeProductCollection Record = new clsHomeProductCollection();

            Home.DataSource = Record.HomeProductList;
            Home.DataBind();
        }