Copies the data from data reader or other data records.
Old data are overwritten. The field count is changed to the FieldCount of the reader. Data mapping is ignored when loading the data. It is recommended to (re)create the mapping from the reader
In this example is the typical usage of this method:
[Visual Basic]
' this is how to create the row from data reader
Dim map As New Mapping(reader)
Dim r As New Row(0, 1, map)
r.SetData(reader)
[C#]
// this is how to create the row from data reader
Mapping map = new Mapping(reader);
Row row = new Row(0, 1, map);
row.SetData(reader);
Row Class | Resco.Controls.AdvancedList Namespace | Row.SetData Overload List