Fetch Distinct Values From Datatable In c#
To Fetch distinct values from already fetched DataTable in Ado.net we can use following method.
DataTable temp = DT.DefaultView.ToTable(true, "ContractId"); //Note here I wanted to fetch Distinct ContractIds from DT