How get unique rows using RowFilter

E

Edward

I've a table myTable with the columns City and Address. I
need a view containing the unique values of City. I've
defined the view as DataView myView = new DataView
(myTable). What must I specify in the RowFilter to get the
unique cities? I've tried the keywords distinct and
unieque, but the gave an error.

Another question: Mine view has now the fields of the
table. Is there also a possibility to get only the City-
column in the view?

Thans in advance.
Edward
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top