My query pulls in multiple fields into a DataGrid. I am trying to hide one field in the grid if another field has nothing in it.
This post would appear to provide my solution:
But when I try it I get an error:
" runat="server" AutoPostBack="true" Font-Size="8pt"
Style="text-align: center; width: 60px;" Text='<%# Bind("Actual_Task_Start_Da
) Is Nothing) %>'
The error is:
Generation of designer file failed: Cannot create an object of type 'System.Boolean' from its string representation '<%= (Request.QueryString("Plan
) Is Nothing) %>' for the 'Visible' property.
What should I be doing differently?