ASP.Net - Image on Button Click

Associate
Joined
9 Dec 2008
Posts
2,341
Location
Somewhere!
Hi All,

I'm very new to ASP and I'm just having a play around at the moment and I was wondering how to do the following;

If I have a drop down box, and when certain things are selected, I want certain images to display once the submit button has been pressed.

For Example.. what would I put if i had an England.jpg

If DropDownList.Text = "England" Then
????????
End If

Thank you in advance..
 
So the image is (but isnt) there when you select it in the drop down, but then it actualy becomes visible on the page once Submit is selected?
 
Ahh, got it working in the end with If statements.. I'm sure there is a much better way of doing it than the way I have done.. but it works and that's all I'm really worried about for now :) Thanks all!
 
Back
Top Bottom