Wednesday, April 30, 2014

C# time difference between two times

       DateTime dtFrom = DateTime.Parse("3:00 PM");  
       DateTime dtTo = DateTime.Parse("5:00 PM");  
       DateTime now = DateTime.Now;  
       if ((now>=dtFrom) && now<= dtTo )  
       // Do Something  

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.