vb.net
-
hi all can anyone help me in displaying images in a datalist. images are stored in a folder, not in databse but the image path is stored in the table which control shall i use in itemtemplate? how can i link that control with database? can anyone help me in detail thanks in advance
-
hi all can anyone help me in displaying images in a datalist. images are stored in a folder, not in databse but the image path is stored in the table which control shall i use in itemtemplate? how can i link that control with database? can anyone help me in detail thanks in advance
You can probably add a picturebox to your form and use the PictureBox1.Load(imagepath) function.
-
You can probably add a picturebox to your form and use the PictureBox1.Load(imagepath) function.
-
sorry i want to display in a web form in a web form , we dont have picturbox, right? can i use image control? if yes, how can i set the path? please help me in solving this thanks in advance
I'm sure the image control will work. Scroll through its methods until you find a property or a method that you can use that will allow you to set the image's source, or URL, or path. The image control has some property or method for this. If its a method it will probably be named something like Load. To look through what properties and methods are available type:
Image1.
where Image1 is the name of your image control. once you press the '.' a list will pop up with all the properties and methods that you can use.