ActiveReports6 Assembly > DataDynamics.ActiveReports Namespace > Parameter Class : Value Property |
private void button1_Click(object sender, System.EventArgs e) { ActiveReport1 rpt = new ActiveReport1(); rpt.Parameters["country"].Value = "Germany"; rpt.Run(); arv.Document = rpt.Document; }
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim rpt As New ActiveReport1 rpt.Parameters("country").Value = "Germany" rpt.Run() arv.Document = rpt.Document End Sub
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