Reads a data source with the specified name.
Namespace: MindFusion.Reporting
Assembly: MindFusion.Reporting
C#
![]() |
---|
public Object ReadDataSource ( |
Visual Basic
![]() |
---|
Public Function ReadDataSource( _ |
The name of the element containing the data source.
The parent element of the node with the specified name.
The read data source. Returns null (Nothing in Visual Basic) if there is no element with the specified name under the specified parent or if the object cannot be deserialized.
This method raises the DeserializeDataSource event to allow clients to specify the data source based on the string value of the specified XML element.