Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
hog
Constraint Violating Yak Guru
284 Posts |
Posted - 2008-09-08 : 16:55:23
|
Hi,When I view a datetime object in vb.net I see the date and time as expected.But when I save this datetime value to my sql database which has a datetime field only the date appears, the time appears as zeros?Any pointers?Thanks |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
hog
Constraint Violating Yak Guru
284 Posts |
Posted - 2008-09-08 : 17:04:40
|
Yes, both fields are datetime, however you gave me the clue and buried in my code was a redundant line setting the datetime object to the value of a textbox!Thanks dude, this has been drivin me crackers all night!!!Cheers |
 |
|
|
|
|