How to search data on dropdown selection in asp.net?

Display the data in gridview based on dropdownlist selected value.

I get simple solution.

Your simple answer is below.

You have to write your gridview binding code over the dropdown_selectedIndexChange event and also set allow Auto Postback property true of dropdown.So, when you select any value from dropdown you will be able to see Gridview with existing bind data.

About the Author

avatar