Share via


SetSqlString Method

Sets the value of the specified column to the passed-in SqlString value.

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

Syntax

'Declaration
Public Sub SetSqlString ( _
    ordinal As Integer, _
    value As SqlString _
)
'Usage
Dim instance As SqlCeResultSet
Dim ordinal As Integer
Dim value As SqlString

instance.SetSqlString(ordinal, value)
public void SetSqlString(
    int ordinal,
    SqlString value
)
public:
void SetSqlString(
    int ordinal, 
    SqlString value
)
member SetSqlString : 
        ordinal:int * 
        value:SqlString -> unit 
public function SetSqlString(
    ordinal : int, 
    value : SqlString
)

Parameters

Remarks

The underlying column must be of type char, nchar, varchar, nvarchar, text, or ntext.

An exception is thrown if the row is not marked as updatable.

An exception is thrown if no field exists at the specified position.

See Also

Reference

SqlCeResultSet Class

SqlCeResultSet Members

System.Data.SqlServerCe Namespace