Hi,
I am using a select class to build a query where I have to compare date column "Net due date" with the current month.
var currentMonth = DateTime.Now.Month;
var select = new Select(UserConnection)
.Column("Id")
.From("UsrBeta")
.Where("UsrDate").IsEqual(Column.Parameter(currentMonth)) as Select;
But I am getting this error : Operand type clash: date is incompatible with int
Like
3 comments
Show all comments