SqlDecimal.Parse Method (String)

 

Converts the String representation of a number to its SqlDecimal equivalent.

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

public static SqlDecimal Parse(
	string s
)

Parameters

s
Type: System.String

The String to be parsed.

Return Value

Type: System.Data.SqlTypes.SqlDecimal

A SqlDecimal equivalent to the value that is contained in the specified String.

.NET Framework
Available since 1.1
Return to top
Show: