I want to be able to show images using a random number generator. I have that working fine and the Select Case working fine, but how do I go about assigning the imageurl?
My images are located in the same bin folder for my project.
I have tried things like:
Me.imgMain.ImageUrl = "\1.jpg"
Me.imgMain.ImageUrl = "/1.jpg"
Does anyone know how to do this?
Also is there away to code the image so that it will stay the same ration when the images are shown to prevent distortions?
Thanks, Chester
My images are located in the same bin folder for my project.
I have tried things like:
Me.imgMain.ImageUrl = "\1.jpg"
Me.imgMain.ImageUrl = "/1.jpg"
Does anyone know how to do this?
Also is there away to code the image so that it will stay the same ration when the images are shown to prevent distortions?
Thanks, Chester