SqlCeResultSet.SetChar Method
Sets the value of the specified column to the passed-in Char value.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Sub SetChar ( _
ordinal As Integer, _
c As Char _
)
'Usage
Dim instance As SqlCeResultSet
Dim ordinal As Integer
Dim c As Char
instance.SetChar(ordinal, c)
public void SetChar(
int ordinal,
char c
)
public:
void SetChar(
int ordinal,
wchar_t c
)
member SetChar :
ordinal:int *
c:char -> unit
public function SetChar(
ordinal : int,
c : char
)
Parameters
- ordinal
Type: System.Int32
The ordinal position of the column to set.
- c
Type: System.Char
The value to assign to the specified column.
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.