0
If your query got resolved, then accept the post that helped you as Answer.
0
I am not very clearly about which kind of purpose you want to show the image for. Gridview could display image also. You could try.
0
You can place a container control (for eg: Panel) in the webpage..
Then, from the page_load event fetch the images and create an image control dynamically
and add to the panel Controls property..
Hope the following code could give more idea: (before running this add an img1.png to your web app)
protected void Page_Load(object sender, EventArgs e)
{
Panel panel = new Panel();
this.Page.Controls.Add(panel);
Image image = new Image();
image.ImageUrl = "~/img1.png";
panel.Controls.Add(image);
image = new Image();
image.ImageUrl = "~/img1.png";
panel.Controls.Add(image);
}