hey guys,
recently i noticed something funny going on with the datatable.defaultview.sort.
if i query a column into a datatable as such: column_A As [the first column ]
with a space before the ].
i will get an error when i reach this line of code:
datatable.DefaultView.Sort = "the first column ";
error:
cannot find column the first column.
funny thing is after i remove the space, everything else works fine. is there something wrong with the defaultview of the datatable? i don't see why placing a space/no space will make a difference.
regards