I need to calculate total count of distinct values of a field . That field contains many duplicate values also. The table which contains that field is stored in pgdb. I want things done in vb .net. Any help is appreciated.
If you are using a personal geodatabase (which uses MS Access), you could use ADO and do a
SELECT DISTINCT <fieldname> FROM <TableName> You can search SO for this info: https://stackoverflow.com/search?q=%5Bms-access%5D+votes%3A5+ADO+SELECT+DISTINCT