MobileForms Toolkit Documentation

CopyOfBoundRow.SetData Method (IDataRecord)

Copies the data from data reader or other data records.

public override void SetData(
IDataRecord reader
);

Parameters

reader
Data reader or other implementation of IDataRecord.

Remarks

Source must have the same field count as row, data mapping is ignored by loading the data. It is recommended to create the mapping from the reader

Exceptions

Exception Type Condition
ArgumentException Thrown when the reader has different FieldCount as the Row.
NotSupportedException Thrown when bound to other type then DataRow.

See Also

CopyOfBoundRow Class | Resco.Controls.AdvancedList Namespace | CopyOfBoundRow.SetData Overload List