Friday, December 9, 2016

C# convert a DateTime to an int value




 long dtosDateValue = long.Parse(DateTime.Now.ToString("yyyyMMdd"));  
 long dtosTimeValue = long.Parse(DateTime.Now.ToString("HHmmss"));  
 long dtosDateTimeValue = long.Parse(DateTime.Now.ToString("yyyyMMddHHmmss"));  

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