Wednesday, August 5, 2015

Entity Framework to Class object null check

date time null is a common problem in EF, we can easily handle with this.

  if (pic.dbirthday != null)  
       {  
         bo.dbirthday = Convert.ToDateTime(pic.dbirthday.Value.Date.ToString("MM/dd/yyyy"));  
       }  

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...