private void button1_Click(object sender, System.EventArgs e) { SectionReport1 rpt = new SectionReport1(); 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 SectionReport1 rpt.Parameters("country").Value = "Germany" rpt.Run() arv.Document = rpt.Document End Sub