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

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -