I'm using a GridView and a LinqDataSource to view the Categories table. I set the Gridview to enable sorting. Sorting generally works except when i clicked on the header of the Description column.
"An order by expression can only contain non-constant scalars that are order comparable by the server. The expression with type 'NText' is not order comparable."
Description is casted with ntext but can someone explain to me what's happening? why does NText is not sortable when nvarchar are?