Re: Datbiner.Eval and img html tags

Discussion in 'ASP .Net' started by Ben Dewey, May 11, 2004.

  1. Ben Dewey

    Ben Dewey Guest

    What exactly are you trying to put into the img tag? Can you clarify why
    you want to not use a repeater. Is the img src inside the datasource?
    Also, can you give an example of you dataset and your desired result


    "Bryan" <> wrote in message
    news:...
    > I was wondering if it's possible to use the <%#

    DataBinder.Eval(Container.DataItem, "Image") %> with and html image control
    (img) and not use a repeater? How would it be possible to use and img
    control and bing the html img control throught the code behind?
    >
    Ben Dewey, May 11, 2004
    #1
    1. Advertising

  2. Re: Databiner.Eval and img html tags

    I'm trying to insert a picture file name from my sql database. I'm using an sqldatareader and needing to put the name of the file of an image onto a webpage. I don't want to hard code the src so I need a way to drop it onto the page. The only way I can think of through asp.net is to use datainder.eval.... but I'm not sure if I can use it without using a repeater. I don't need to use a repeater to put an image into the form.
    =?Utf-8?B?QnJ5YW4=?=, May 11, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. news.austin.rr.com

    how to download img from html img tag

    news.austin.rr.com, Apr 27, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    505
    Steve C. Orr [MVP, MCSD]
    Apr 27, 2005
  2. Philipp Lenssen

    Problem: <img></img>

    Philipp Lenssen, Jun 27, 2005, in forum: XML
    Replies:
    15
    Views:
    754
    David Håsäther
    Jul 3, 2005
  3. Jopek
    Replies:
    7
    Views:
    397
    dorayme
    Apr 26, 2009
  4. pkellner
    Replies:
    6
    Views:
    173
    William James
    Jul 30, 2005
  5. Replies:
    7
    Views:
    177
    Tad McClellan
    Jun 22, 2006
Loading...

Share This Page