Instead of DATEDIFF use something else like calculating the start and end date times and use between.
Debug this using a sql query before trying this in your C# code.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 8 of 8
Threaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |