0
0to60
I have a table with a datetime column. Then, in my C# program I open a
datatable with that column in it and access it with the following syntax:
dt.rows["datefield"]
Now, when I look at the data in the table from say Enterprise Manager, the
row in question has an "11/17/2005 8:15:29 am" in it. But, my ado.net code
yields a "11/17/2005 8:15:28 am". This isn't for all the rows in the
datatable, only a few. Is there some sort of "conversion" that goes on
between .net and SQL Server? Is there some rounding going on?
Any help would be much appreciated.
datatable with that column in it and access it with the following syntax:
dt.rows["datefield"]
Now, when I look at the data in the table from say Enterprise Manager, the
row in question has an "11/17/2005 8:15:29 am" in it. But, my ado.net code
yields a "11/17/2005 8:15:28 am". This isn't for all the rows in the
datatable, only a few. Is there some sort of "conversion" that goes on
between .net and SQL Server? Is there some rounding going on?
Any help would be much appreciated.