Click here to Skip to main content
16,016,024 members

Comments by Dali Golub (Top 2 by date)

Dali Golub 4-Jun-13 11:29am View    
Although it is one year old and have 5 solutions, I did not find any of them answering why there is error for not existing column. I was looking for answer myself just yesterday and today and I figure out by testing that mistake is in spaces between words, so I went and leave comment as I know that will help others who were stuck as I was.
Dali Golub 4-Jun-13 9:28am View    
Column names should not have spaces in between words to be sorted. Cannot sort column name "column 1" should be either "column_1" or in definition of fields you should put:
SortExpression="column1"
without spaces, like:
<asp:BoundField DataField="column1" HeaderText="column1" SortExpression="column1"/>

If there is space he will use only first bit and not recognise column at all.

Dali