you need to add selected index changed event to your
ddlSerch
. That event will fire when you change the category.
On that event, you need to select the CategoryId.
ddlSerch.SelectedValue
will give you the value member of selected item.
you can use
several methods [
^]to pass data between web pages. check below article for QueryString
Passing variables between pages using QueryString[
^]
in your second page get the category id came as QueryString and load the data into gridview.
Study and do it your self. Good Luck :)