Paging handler;
void Page_Load (Object sender, EventArgs e) {if (CheckBox1.Checked) ItemsGrid.PagerStyle.Mode = PagerMode.NumericPages; else ItemsGrid.PagerStyle.Mode = PagerMode.NextPrev; if (IsPostBack!) {start_index = 0; ItemsGrid.VirtualItemCount = 100;} bindgrid ();
/ Bonding public function;
Void bindgrid () {itemsgrid.datasource = createDataSource (); itemsgrid.databind ();
/ Database's chains have been published in front,! // paging driver ID / / tab default style; PagerStyle> AlternatingItemStyle> HeaderStyle> itemstyle> asp: boundcolumn> <