lunargirrl
Programmer
I am receiving data from a table (via sql query) like:
Cod_Module
--------
1
2
3
In my asp.net app (vb - codebehind) I receive these data using a sql query, my problem is: i have to check for the numbers that come from my query and based on that set to visible or visible some imagebuttons.
e.g
If my query returned the values 1 and 2, I have to set the ImageButton1 and ImageButton2 to visible and ImageButton3 to invisible.
I dont find a way to do that, because my dataset (i have to use dataset) returns the values and how can i get this values and make a comparation with the imagebuttons ???
My god, have no idea!
Thanks a lot,
Gis.
Cod_Module
--------
1
2
3
In my asp.net app (vb - codebehind) I receive these data using a sql query, my problem is: i have to check for the numbers that come from my query and based on that set to visible or visible some imagebuttons.
e.g
If my query returned the values 1 and 2, I have to set the ImageButton1 and ImageButton2 to visible and ImageButton3 to invisible.
I dont find a way to do that, because my dataset (i have to use dataset) returns the values and how can i get this values and make a comparation with the imagebuttons ???
My god, have no idea!
Thanks a lot,
Gis.