My database table contains the image file path which will be stored from a
file upload control.The image path in the table will be like "C:\Projects\projectname\projectfolder\Files\1_129308367798080000_images1.jpg"
I am trying to display that image through a datalist control as follows
<asp:DataList ID="cobrandlogolist" runat="server">
<asp:Image id="CobrandLogo" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "CobrandLogo") %>' Height="100px" Width="100px"
and i am retrieving the image names from the db and assigning as datasource of this datalist in the load event as follows
DataTable dt = new DataTable();
View Complete Post