Click here to Skip to main content
15,913,467 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hai guy's,
I am using .net Framwork 4.0,

<asp:image id="img" runat="server" imageurl='<%#Handler.ashx?id="+Eval("tID") %>'/>


Error: Newline in constant.

How to reduce the error please help me.


Thank's Regarding
Nagarajan.P
Posted
Updated 9-Feb-11 23:56pm
v2

Try like this?

<asp:image id="img" runat="server" imageurl="Handler.ashx?id="+'<%# Eval("tID") %>'/>
 
Share this answer
 
v2
Comments
Monjurul Habib 10-Feb-11 11:07am    
hope will work.
<asp:image id="img" runat="server" imageurl='Handler.ashx?id=<%# Eval("tID") %>'/>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900