Monday, June 23, 2014

how to get distinct records from list in c#

Try this

 var DistinctItems = employees.GroupBy(x => x.EmpID).Select(y => y.First());  
 foreach(var item in DistinctItems)  
 {  
 //Add to other List  
 }  

vfpoledeb.1 provider is not registered on the local machine

Have u Install VFP Ole DB Provider in your System ? If No then Please Install it from following link. http://www.microsoft.com/download...