Monday, March 31, 2014

String was not recognized as a valid DateTime.

After spending a lots of time i solve the problem

  string strDate = PreocessDate(data);  
       string[] dateString = strDate.Split('/');  
       DateTime enter_date = Convert.ToDateTime(dateString[1]+"/"+dateString[0]+"/"+dateString[2]);  

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.