How to get distinct list of a column from a DataTable

  • Thread starter Thread starter Yi Jiang
  • Start date Start date
Y

Yi Jiang

Hi;

I am trying to do some calc for a DataTable populated from database. The
DataTable has composite key e.g.ID, Date.

My question is:

What is the best and effective way to get the distinct list of ID
from DataTable just like SQL "select distinct ID from table"?


Thank you for your help!

Yi
 
Back
Top