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
SQL Server just doesn't let you order by NText fields (see also error 420 in the SQL Server Error List). My guess is that it's for efficiency reasons, but I couldn't say for sure.
Now the solution in the linked article is cast to nvarchar... but that's obviously pretty hard to do in LINQ.
Does your description field definitely need to be an ntext?