GrapeCity ActiveReports for .NET 14.0J
FileURL プロパティ
使用例 

GrapeCity.ActiveReports アセンブリ > GrapeCity.ActiveReports.Data 名前空間 > XMLDataSource クラス : FileURL プロパティ
データソースとして使用されるXMLドキュメントを取得するためにファイル名、または、URLを取得または設定します。
シンタックス
'宣言
 
Public Property FileURL As String
public string FileURL {get; set;}
使用例
Detail_Formatイベントに貼り付けます。
GrapeCity.ActiveReports.Data.XMLDataSource xDS = new GrapeCity.ActiveReports.Data.XMLDataSource();
SectionReport1 rpt = new SectionReport1();

    xDS.ValidateOnParse = true;
    xDS.FileURL = System.Windows.Forms.Application.StartupPath + " \\customer.xml";
    xDS.RecordsetPattern = "//ITEM";
    xDS.NodeList = (System.Xml.XmlNodeList)ds.Field("ITEM",true);
    this.Label1.Text = xDS.CurrentPosition;
    Console.WriteLine(xDS.Count.ToString());

    if (xDS.BOF && xDS.EOF)
    {
        return;
    }
Detail_Formatイベントに貼り付けます。
Dim xDS As New GrapeCity.ActiveReports.Data.XMLDataSource()
Dim rpt As New SectionReport1()

    xDS.ValidateOnParse = True
    xDS.FileURL = System.Windows.Forms.Application.StartupPath + " \\customer.xml"
    xDS.RecordsetPattern = "//ITEM"
    xDS.NodeList = xDS.Field("ITEM", True)
    Me.Label1.Text = xDS.CurrentPosition
    Console.WriteLine(xDS.Count.ToString())

    If xDS.BOF & xDS.EOF Then
        Exit Sub
    End If
参照

XMLDataSource クラス
XMLDataSource メンバ