Click here to Skip to main content
15,943,406 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want bind dropdown for gridview when autogenerated columns is true.

How to bind it, by default when i click edit image button in gridview it will converted to textbox, i want bind dropdown for gridview
Posted

1 solution

You will need to change whichever column you want to have a dropdownlist in into a templated field. Then you can change the text box into a dropdownlist and bind data to it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900