S
Steffen Loringer
Hi,
I'm using SQLCmd = New SqlClient.SqlCommand and then
SQLCommand.CommandType = CommandType.Text
My problem is as follows: I like to update a table in SQL Server with a
column of the type DateTime.
so I used "UPDATE MyTable SET TheTime=" & ActualTime.ToString. But it's
not working. What is the way to send a DateTime datatype to SQL Server??
Thanks a lot
Steffen
I'm using SQLCmd = New SqlClient.SqlCommand and then
SQLCommand.CommandType = CommandType.Text
My problem is as follows: I like to update a table in SQL Server with a
column of the type DateTime.
so I used "UPDATE MyTable SET TheTime=" & ActualTime.ToString. But it's
not working. What is the way to send a DateTime datatype to SQL Server??
Thanks a lot
Steffen