protected system.web.ui.webcontrols.datagrid dglist;
===================================================
Private void dglist_pageindexchanged (object source, system.web.ui.webcontrols.datagridPageChangedeventargs e) {dglist.currentpageindex = E.NewpageIndex; binddata ();
private void dgList_ItemCreated (object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) {if (e.Item.ItemType == ListItemType.Pager) {System.Text.StringBuilder pagerString = new System.Text.StringBuilder (); pagerString .Append ("Total" INTTOTAL " DGList.pageCount " page per page E.Item.cells [0] .controls.addat (0, New LitralControl) "" Pagerstring.toString () ""));}}