How to refresh Gridview after inserting data into database
i am trying to refresh gridview using
this.GridView1.DataBind();
but gridview is not getting refresh on button click, i don't want to refresh whole page and i kept my gridview into div.
akhter says: this.GridView1.DataBind();
this
.GridView1.DataBind();
You need to call the GridView binding code again instead of only DataBind method.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.