Replace SQL result with Image file on Bound

Discussion in 'ASP .Net Web Services' started by Bob Smith, May 28, 2009.

  1. Bob Smith

    Bob Smith Guest

    I am creating a dotnet application that looks at an SQL data source.
    Everything is looking good. What I am trying to do is have an imageFiled that
    shows images in the table based on the results of one of the returned values.

    e.g. I have a status field in the database. If the database status field
    comes back with a value of 2, I would like a tick_image.jpg in that row. If
    the status field comes back as 1, I would like to show the cross_image.jpg.

    Does anyone know how to do this on the databound event?
     
    Bob Smith, May 28, 2009
    #1
    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. sunil panda

    Lower bound & Upper bound

    sunil panda, Dec 25, 2003, in forum: Java
    Replies:
    9
    Views:
    7,253
    thushara wijeratna
    Oct 7, 2008
  2. Rhiner Dan
    Replies:
    1
    Views:
    749
    Mike Wahler
    Mar 27, 2005
  3. Mario Krsnic
    Replies:
    0
    Views:
    386
    Mario Krsnic
    Jun 23, 2006
  4. Phillip Vong
    Replies:
    0
    Views:
    415
    Phillip Vong
    Jul 27, 2006
  5. Michael Tan
    Replies:
    32
    Views:
    997
    Ara.T.Howard
    Jul 21, 2005
Loading...

Share This Page