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  

Ensure that this project has Microsoft.Bcl.Build installed and packages.config is located next to the project file

In my Xamarin form application their was dependency Restclient on Microsoft.Bcl.Build Microsoft.Bcl. i just remove all using nuget and ...