Eval() Method - Help please

Reply

Join Date: Aug 2007
Posts: 28
Reputation: ashkan3030 is an unknown quantity at this point 
Solved Threads: 0
ashkan3030 ashkan3030 is offline Offline
Light Poster

Eval() Method - Help please

 
0
  #1
Jun 16th, 2009
  1. <asp:Image ID="Image2" runat="server"
  2. ImageUrl='~\\Images\\thumbnail\\<%# Eval("brand")%>\\<%# Eval("thumbnail")%>' />

I tried several times with different types and didn't succeed.I want to bind two data from my database and put them in Image URL continuously.
Which the brand is something like "Dell" and thumbnail is "123.jpg"

What is the correct form ?

Thank you all.
Last edited by Ezzaral; Jun 16th, 2009 at 1:12 pm. Reason: Added [code] [/code] tags. Please use them to format any code that you post.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 28
Reputation: ashkan3030 is an unknown quantity at this point 
Solved Threads: 0
ashkan3030 ashkan3030 is offline Offline
Light Poster

Re: Eval() Method - Help please

 
0
  #2
Jul 8th, 2009
No one really has any idea about this !!!
Please help me If you can, this is so crucial for me.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC