AdsExtendedReader.SetDateTime

Advantage .NET Data Provider

Stores the given DateTime value as a date or timestamp in the specified column.

public void SetDateTime( int iCol, DateTime value );

Remarks

This method sets the specified zero-based column value to the given DateTime value. SetDateTime is expected when setting fields of types date of timestamp. No conversions are performed. To set a date or timestamp field to NULL, use SetValue with a null or empty value.

Note The time portion of the DataTime is ignored for date fields.

See Also

SetValue

AdsDataReader.GetDateTime