.net - Why am I getting error 'not declared'? -


i'm trying show dropdownlist (cbb_conj_habitacional) if selected value of dropdownlist (cbb_area_verde) equals 7... but, when try code, following error:

name 'cbb_area_verde' not declared , goes cbb_conj_habitacional.

protected sub cbb_area_verde_selectedindexchanged(byval sender object, byval e system.eventargs)     dim selecionado integer     selecionado = cbb_area_verde.selecteditem.value     if (selecionado = 7)         cbb_conj_habitacional.visible = true     end if end sub 

and yes, i'm in partial class.

i know did wrong... "cbb_conj_habitacional" inside of formview, declared findcontrol.

dim cbb_conj_habitacional dropdownlist = formview.findcontrol("cbb_conj_habitacional") 

i hope can someone.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -