I have a gridview and dropdownlist, let say the content of dropdownlist is YEAR and the content of gridview is Name and Year. Now for everytime I change the Value of dropdownlist the content of gridview will change but it will not load the page
Thanks
In addition to what's recommended by Azim and Emad, you need to DataBind your gridview while postbacks.
Put this in your PageLoad Event Handler
if Not Me.IsPostBack then 'Runs on Page Load 'Bla Else 'Runs on Post Back GridView.DataBind() End If
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.