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 node from data reader
Dim map As New Mapping(reader)
Dim node As New Node(0, 1, map)
node.SetData(reader)
[C#]
// this is how to create the node from data reader
Mapping map = new Mapping(reader);
Node node = new Node(0, 1, map);
node.SetData(reader);
Node Class | Resco.Controls.AdvancedTree Namespace | Node.SetData Overload List