protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)
    DataView dv = new DataView(table);
    GridView1.DataSource = dv;
    GridView1.PageIndex = e.NewPageIndex;


Just the basic GridView1_PageIndexChanging with the GridView Style, but I found when i change the page index the page selectstyle is still exist in the next page.

I just want when page changing the selectstyle will cancel the style automatic.

How to fix this problem?

Related posts

Recent Viewed