Geeks With Blogs
Fórmulas e Cenas Object Reference Not Set to an Instance of an Object
DataView view = new DataView(table);
DataTable distinctValues = view.ToTable(true, "Column1", "Column2" ...);

 

Source: http://stackoverflow.com/questions/1199176/how-to-select-distinct-values-from-datatable

Posted on Tuesday, October 2, 2012 11:53 AM | Back to top


Comments on this post: How to select distinct rows from a DataTable

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Sglima | Powered by: GeeksWithBlogs.net | Join free