My SQL Server database contains nullable DateTime values. How can I convert them to a nullable DateTime object in my application in C#?
This is what I would think it
I recently found this trick, it's simple:
DateTime? dt = sqldatareader[0] as DateTime?;