image not display
-
hi to all this is my codebehind: str = @"D:\aesweb\WebSite\Images\" + "aboutus_bt.gif"; this is my html: <asp:Image ID="kk" ImageUrl="<%= str%>" runat="server" /> here picture not display..is this right regards sara
Known Is Drop.Unknown Is Ocean
-
hi to all this is my codebehind: str = @"D:\aesweb\WebSite\Images\" + "aboutus_bt.gif"; this is my html: <asp:Image ID="kk" ImageUrl="<%= str%>" runat="server" /> here picture not display..is this right regards sara
Known Is Drop.Unknown Is Ocean
-
hi to all this is my codebehind: str = @"D:\aesweb\WebSite\Images\" + "aboutus_bt.gif"; this is my html: <asp:Image ID="kk" ImageUrl="<%= str%>" runat="server" /> here picture not display..is this right regards sara
Known Is Drop.Unknown Is Ocean
Your html can't link to the codebehind this way. Copy the path and paste directly into your ImageUrl tag. Also verify that the path to the image is correct. Good luck!