Hi Alphaa, After researching your problem, we saw you are trying to invoke an object initializer with a varying number of values. Unfortunately, Microsoft LINQ support does not offer a clean way to select an anonymous type with a variable set of properties. The number of named fields for the column values cannot be variable as you explicitly give a name for each property. Even if you do not name explicitly each property still you need to specify its value as a part of the anonymous type constructor. Don't hesitate to contact us if you have any other questions.
Kind regards, PetkoI the Telerik team.
Next is selecting distinct rows, the rows could be selected distinct either on all the fields in the table, on selected rows (equivalent to where clause in SQL statement) or on select rows and (equivalent to where clause in SQL statement) and defined fields (columns). If your DataTable contains object fields. Using LINQ Queries. Oct 21, 2013 Hi, I using the below LINQ query to identify duplicate records in a DataTable. Call this method from a C# windows application. If I add value without space it is considered as duplicate.