Home » c# » c# – I cannot search items from one date to another-Exceptionshub

c# – I cannot search items from one date to another-Exceptionshub

Posted by: admin February 24, 2020 Leave a comment

Questions:

I have search dates DateFrom and DateTo. In View I’m only getting the entry results that I input in DateFrom.

Suppose the DateFrom is 2/16/2020 and the DateTo is 2/18/2020. I am only getting result of 2/16/2020 while I need result from 2/16/2020 to 2/18/2020.

How can I do that?

this

Hers is How my Controller Looks like

Controller

How to&Answers: