Search Distinct values in DataTable
pI have a datatable that has a few thousand rows, there are three columns
and I want to search the one specific column in the datatable to find the
Distinct values. I have tried this:/p precodeDataRow[] dr =
datatable.Select(SELECT DISTINCT Amount ); /code/pre pAmount is the column
name that I am trying to group the values by./p pThe error I get is:
Syntax error: Missing operand after 'DISTINCT' operator/p pThanks/p
No comments:
Post a Comment