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 |
awadi20
Starting Member
10 Posts |
Posted - 2009-04-27 : 07:06:56
|
dear allI use asp.net 2. I have the followingDim d_date As dated_date = FormatDateTime(Now, DateFormat.ShortDate)when I insert d_date to a table with a field datetime. this error message appearThe conversion of a char data type to a datetime data type resulted in an out-of-range datetime valuehow can i solve it |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2009-04-27 : 07:11:33
|
How are you inserting the data into table? E 12°55'05.63"N 56°04'39.26" |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2009-04-27 : 08:42:01
|
What does FormatDateTime(Now, DateFormat.ShortDate) return?MadhivananFailing to plan is Planning to fail |
|
|
|
|
|