You must set this property to a non-null value of type 'System.Byte[]'.
Posted: Fri 24 Feb 2017 06:16
HI
I not sure what is the problem to cause the below error.
Hope someone here can help me on this.
this problem normally occur when i using LINQ with OrderBy
Is it not allow to use order by when select?
Thank You For HELP.
I not sure what is the problem to cause the below error.
Hope someone here can help me on this.
Server Error in '/' Application.
The 'RowVersion' property on 'ScheduleTime' could not be set to a 'System.DateTime' value. You must set this property to a non-null value of type 'System.Byte[]'.
this problem normally occur when i using LINQ with OrderBy
Code: Select all
List<ScheduleTime> ListScheduleTime = db.ScheduleTimes.Where(u => u.ScheduleId == Id
&& u.BeginDay == cd.Id).
OrderBy(u => u.Id).ToList();
Thank You For HELP.