hello everybody,
can you do something like this:
dim x as integer=1
button_x.visibility=Windows.Visibility.Hidden
i have about 24 buttons on my form that i need to change the visibility for.
which buttons need to be changes - is a variable i get from database query.
so i'll get several rows of numbers like this:
1
12
15
20
and will need to change all those buttons' visibility.
i thought i'd make a loop that goes through each row and change the button of that number.
thanks a lot!