DataTable dtTest = dtProduct.DefaultView.ToTable(true, new string[] { "PRODUCT", "NATURE", "TYPE" });
The first parameter has to be 'true' to get distinct rows, the second is the list of columns to return.
Cheers.
Post with links to what I am reading: 1. A very good post on different aspects of system architecture: https://lethain.com/introduction-to-a...
No comments:
Post a Comment
Note: only a member of this blog may post a comment.