Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

i needs help on <img> tag ASP.NET

asp.net

  • Please log in to reply
4 replies to this topic

#1 Tonaldex

Tonaldex

    CC Newcomer

  • Member
  • PipPip
  • 10 posts

Posted 15 February 2011 - 12:36 PM

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=""
  • 0

#2 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 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

Posted 15 February 2011 - 04:42 PM

Does the image exist on your server?
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#3 Tonaldex

Tonaldex

    CC Newcomer

  • Member
  • PipPip
  • 10 posts

Posted 15 February 2011 - 07:42 PM

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.
  • 0

#4 cdg10620

cdg10620

    CC Addict

  • Senior Member
  • PipPipPipPipPip
  • 344 posts
  • Programming Language:C#, JavaScript, PL/SQL, Transact-SQL, VBScript, Others

Posted 16 February 2011 - 05:16 AM

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

#5 nikodz

nikodz

    CC Newcomer

  • Just Joined
  • PipPip
  • 12 posts

Posted 22 February 2011 - 04:28 AM

<asp:Image ID="ImageID1" runat="server" ImageUrl="1.jpg" />
  • 0





Also tagged with one or more of these keywords: asp.net

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download