Example #1
0
        private void GetArtistsPageWise(int pageIndex)
        {
            arts = new Artists();

            int recordCount = arts.GetArtistsPageWise(pageIndex, Convert.ToInt32(ddlPageSize.SelectedValue));

            gvwAllArtists.DataSource = arts;
            gvwAllArtists.DataBind();

            PopulatePager(recordCount, pageIndex);
        }