How to get Distinct Values from Dataset in single line
How to get unique columns from a dataset using simple command ?
DataTable distinctUniqueCustomer = dataTable.DefaultView.ToTable("Customer", true, "EMPNO");
Where EMPNO is the field Name , Customer is the source DataTable
DataTable distinctUniqueCustomer = dataTable.DefaultView.ToTable("Customer", true, "EMPNO");
Where EMPNO is the field Name , Customer is the source DataTable
Labels: How to get unique columns from a dataset using simple command, Unique values from dataTable;How to get Distinct Values from Dataset in single line
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home