SqlDateTime Explicit Conversion (SqlString to SqlDateTime)
.NET Framework (current version)
Converts the SqlString parameter to a SqlDateTime.
Assembly: System.Data (in System.Data.dll)
Parameters
- x
-
Type:
System.Data.SqlTypes::SqlString
A SqlString.
Return Value
Type: System.Data.SqlTypes::SqlDateTimeA SqlDateTime structure whose Value is equal to the date and time represented by the SqlString parameter. If the SqlString is null, the Value of the newly created SqlDateTime structure will be null.
.NET Framework
Available since 1.1
Available since 1.1
Show: