Hi all I have the following line of code that checks if a number has already been cancelled buy a user.
var cancelcheck = from q in db.Dockets
where q.Status.Equals("Ca") && q.DocketNum== txtDisplay.Text.ToString()
Along with a column of when it was raised using this code.
I have found out that the number could get genertated again on a different day which is ok. But my code would not allow cancelcheck to continue.
So I want to know how do I add datetime.now(day) check into the above.
where q.status.Equals("Ca") && q.DocketNum == txtDisplay.Text.ToString && datetime.now(DD)
A man with one watch knows what time it is; a man with two watches is never quite sure.