Showing posts with label Distinct Column Values From DataTable. Show all posts
Showing posts with label Distinct Column Values From DataTable. Show all posts

Friday, September 4, 2009

Select Distinct Column Values From DataTable

DataView dv= new DataView(SourceTable);
DataTable dt = dv.ToTable(true, "Col1", "Col2","Col3" ...);