Jump to content

i needs help on <img> tag ASP.NET

- - - - -

  • Please log in to reply
4 replies to this topic

#1
Tonaldex

Tonaldex

    Newbie

  • Members
  • Pip
  • 8 posts
I was trying 2 link an image in asp.net just like i do i normal html with dis code: <img alt="" src="myimage/img1.jpg"> note: i use d html tag control. Even, i also tried the asp.net image control: <asp:img runat="server" src=""

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,822 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Does the image exist on your server?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Tonaldex

Tonaldex

    Newbie

  • Members
  • Pip
  • 8 posts
Yes... It does exist. But.... It wasn't from the server i was actually running the image, it was 4rm destop. I think irrespective of that, the html img control should still work. Thankss.

#4
cdg10620

cdg10620

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 389 posts
Why don't you just add the image to the project and link it from there?
-CDG10620
Software Developer

#5
nikodz

nikodz

    Newbie

  • Members
  • PipPip
  • 12 posts
<asp:Image ID="ImageID1" runat="server" ImageUrl="1.jpg" />




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users