Re: picture in data grid based on value
From: Brian Henry (brianiupmsdn_at_newsgroups.nospam)
Date: 07/06/04
- Next message: Raterus: "Re: Validation Problem"
- Previous message: Ammar: "Norton blocks ASP.NET mails!"
- In reply to: Kevin Spencer: "Re: picture in data grid based on value"
- Next in thread: Steven Cheng[MSFT]: "Re: picture in data grid based on value"
- Reply: Steven Cheng[MSFT]: "Re: picture in data grid based on value"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 6 Jul 2004 15:15:56 -0400
yes, I know that but how would i do this in a data bound grid? i need to
pick which image will be displayed based off the value of the data column...
right now its just a numeric value read from a data bound column like this
<%#DataBinder.Eval(Container.DataItem,"Read")%> which ends up showing true
or false on the data grid because it's a bit value... i wanted to do
something like <img src='<%=
ImagePickFunction(DataBinder.Eval(Container.DataItem,"Read"))%> but that of
course does not work... how would i do this part of the problem? thanks
- Next message: Raterus: "Re: Validation Problem"
- Previous message: Ammar: "Norton blocks ASP.NET mails!"
- In reply to: Kevin Spencer: "Re: picture in data grid based on value"
- Next in thread: Steven Cheng[MSFT]: "Re: picture in data grid based on value"
- Reply: Steven Cheng[MSFT]: "Re: picture in data grid based on value"
- Messages sorted by: [ date ] [ thread ]