PowerTools ActiveReports for .NET 11.0J
LoadUrl プロパティ
使用例 

構文
'宣言
 
Public Property LoadUrl As String
public string LoadUrl {get; set;}
使用例
private void Form1_Load(object sender, EventArgs e)
{
    SectionReport1 rpt = new SectionReport1();
    rpt.Run();
    rpt.Document.Save(@"C:\Inetpub\wwwroot\LoadURLTest\report_Normal.rdf", GrapeCity.ActiveReports.Document.Section.RdfFormat.ARNet, GrapeCity.ActiveReports.Document.Section.SaveOptions.Normal);
    this.viewer1.Document.LoadUrl = "http://localhost/Loadurltest/report_Normal.rdf";

}
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    Dim rpt As New SectionReport1
    rpt.Run()
    rpt.Document.Save("C:\Inetpub\wwwroot\LoadURLTest\report_Normal.rdf", GrapeCity.ActiveReports.Document.Section.RdfFormat.ARNet, GrapeCity.ActiveReports.Document.Section.SaveOptions.Normal)
    Me.Viewer1.Document.LoadUrl = "http://localhost/Loadurltest/report_Normal.rdf"

End
参照

関連項目

SectionDocument クラス
SectionDocument メンバ

 

 


©2003-2017 GrapeCity inc. All rights reserved.