Sets the data, for a parameter or column, as the specified type. No conversions are applied. The assembly that contains this class has a friend relationship with SQLAccess.dll. It is intended for use by SQL Server. For other databases, use the hosting mechanism provided by that database.
Namespace: Microsoft.SqlServer.Server
Assembly: System.Data (in System.Data.dll)
Sub SetString(ByVal ordinal As Integer, ByVal value As String, ByVal offset As Integer)
void SetString (int ordinal, string value, int offset);
Parameters
|
Parameter
|
Description
|
| ordinal | The zero-based column ordinal. |
| value | The value for the specified column. |
| offset | The index within the column value to begin the write operation. |
NOTE: Use the corresponding ITypeSettersV3 method.
.NET Framework