Tuesday, February 4, 2014

check sql default date value in C#

The Default date value of SQL server sometimes we need to check in C# your date  from sql database value = = DateTime.MinValue

  if (Model.EmployeeInformationList[i].OfficeLeaveDate!=DateTime.MinValue)  
                  // 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. http://www.microsoft.com/download...