WebParts

DataGrid Pagination in Webparts

Step 1: Set up your CreateChildControls protected override void CreateChildControls() { dGrid = new DataGrid(); // write code to set up the data grid // with your columns etc. dGrid .PageIndexChanged +=new DataGridPageChangedEventHandler(dGrid _PageIndexChanged); base.Controls.Add(dGrid); base.CreateChildControls();