06 July 2011

ASP.NET Error The conversion of a nvarchar data type to a smalldatetime data type resulted in an out-of-range value.

ASP.NET Error The conversion of a nvarchar data type to a smalldatetime data type resulted in an out-of-range value. Can fix:
userQuizDataSource.InsertParameters.Add(
    "DateTimeComplete",
    TypeCode.DateTime,
    DateTime.Now.ToString()
);

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Blog by Chagridsada Boonthus | http://chagridsada.blogspot.com/