asp.net - How can one place DataBinding inline code inside of inline c# code? -
How can I achieve the desired effect? Here's the code:
<% if (string! ISNLLITT (%> gt; & lt;% # Eval (container.detitm, "order xml");%> & Lt;%)) {% & gt;
etc., which is placed inside the ItemTemplate
inside TemplateColumn
. In the CodeBehind page, I will tie a value into the OrderXml field, which sometimes NULL
unfortunately I get compilation errors.
Remove the bracket before eval:
...
Comments
Post a Comment