r/visualbasic • u/NorthwestOhioStudent • Apr 18 '16
Gridview help
Hello all,
I am currently coding with Visual Community 2015 and I have a drop down list inside of a gridview. I need to select an item from inside the gridview in order to finish my code, however the code does not recognize the drop down list name.
Any ideas on what I can do to fix this? I'm pretty sure it's because of the gridview that it is not working as I tried a drop down list outside the gridview and the code recognized it.
5
Upvotes
1
u/snang Moderator Apr 18 '16 edited Apr 19 '16
You'll likely need to use FindControl to locate the control, assuming it's a template field.