SqlBoolean.ToSqlSingle Method ()

 

Converts this SqlBoolean structure to SqlSingle.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public SqlSingle ToSqlSingle()

Return Value

Type: System.Data.SqlTypes.SqlSingle

A new SqlSingle structure whose value is 1 or 0.

If the SqlBoolean structure's value equals true, the new SqlSingle structure's value is 1; otherwise the new SqlSingle structure's value is 0.

.NET Framework
Available since 1.1
Return to top
Show: