ActiveReports 6 Online Help
Document Property (XMLDataSource)
Example 

Returns a reference to the loaded XmlDocument that is used as the data source.
Syntax
'Declaration
 
Public ReadOnly Property Document As XmlDocument
public XmlDocument Document {get;}
Example
Private void ActiveReport1_ReportStart(object sender, System.EventArgs eArgs)
{
    System.Windows.Forms.MessageBox.Show (this.ds.Document.BaseURI.ToString());
}
Private Sub rptDD_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
    MsgBox(Me.ds.Document.BaseURI.ToString)
End Sub
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

XMLDataSource Class
XMLDataSource Members

Send Feedback