R
Robson Carvalho Machado
Dear friends,
Does anybody can help me with dynamically creation of an image on my form?
I'm using the following code to create an ImageButom but it does not work
with single Image.
What do I need to do?
Dim myImageButton as ImageButton
myImageButton = New ImageButton
myImageButton.ID = "ImageButton1"
myImageButton.ImageUrl = "http://localhost/img.gif"
PlaceHolder1.Controls.Add(myImageButton)
When I try the following code it does not work:
Dim myImage as Image
myImage = New Image
myImage.ID = "Image1"
myImage.ImageUrl = "http://localhost/img.gif"
PlaceHolder1.Controls.Add(myImage)
Does anybody can help me with dynamically creation of an image on my form?
I'm using the following code to create an ImageButom but it does not work
with single Image.
What do I need to do?
Dim myImageButton as ImageButton
myImageButton = New ImageButton
myImageButton.ID = "ImageButton1"
myImageButton.ImageUrl = "http://localhost/img.gif"
PlaceHolder1.Controls.Add(myImageButton)
When I try the following code it does not work:
Dim myImage as Image
myImage = New Image
myImage.ID = "Image1"
myImage.ImageUrl = "http://localhost/img.gif"
PlaceHolder1.Controls.Add(myImage)