public void AddScriptReference( string scriptRef )
'宣言 Public Sub AddScriptReference( _ ByVal scriptRef As String _ )
ActiveReportsは、アプリケーションで参照されているアセンブリをロードします。このメソッドは、レポートを実行するアプリケーションの一部ではなく、スクリプト内で使用するアセンブリを追加するために使用できます。
private void runReport() { SectionReport1 rpt = new SectionReport1(); rpt.AddScriptReference("System.Data"); rpt.Run(); this.viewer1.Document = rpt.Document; }
Private Sub runReport() Dim rpt As New SectionReport1() rpt.AddScriptReference("System.Data") rpt.Run() Me.viewer1.Document = rpt.Document End Sub
SectionReport クラス SectionReport メンバ AddNamedItem メソッド Script プロパティ AddCode メソッド
©2003-2017 GrapeCity inc. All rights reserved.