MobileForms Toolkit Documentation

BoundRow.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

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