Hi,
I hope some one could help me. I just started with vb.net and I'm trying
to build a search form for my site.
I'm trying to make a loop for this piece of code (vb.net) but I can't
figure out how to make it work.
Your help is really appreciate.
Thanks..
New guy
<script langauge="vb">
Sub met_1(Sender as Object, e as System.EventArgs)
if drop_a1.selecteditem.text = "name" then
drop_c1.visible="false"
tbx_c1.visible="true"
end if
if drop_a1.selecteditem.text = "country" then
country()
tbx_c1.visible="false"
drop_c1_view()
end if
End Sub
Sub met_2(Sender as Object, e as System.EventArgs)
if drop_a2.selecteditem.text = "name" then
drop_c2.visible="false"
tbx_c2.visible="true"
end if
if drop_a2.selecteditem.text = "country" then
tbx_c2.visible="false"
country()
drop_c2_view()
end if
End Sub
[..........]
Sub met_7(Sender as Object, e as System.EventArgs)
if drop_a7.selecteditem.text = "name" then
drop_c7.visible="false"
tbx_c7.visible="true"
end if
if drop_a7.selecteditem.text = "country" then
tbx_c7.visible="false"
country()
drop_c7_view()
end if
End Sub
</script>