private void show_report() { ReportViewer2.Reset(); DataTable dt = Queries2.flybuygoa(TextBox1.Text, TextBox2.Text, TextBox3.Text); DataTable dt2 = Queries2.Seapdate(TextBox1.Text); ReportDataSource rds = new ReportDataSource("DataSet1", dt); ReportDataSource rds2 = new ReportDataSource("DataSet2", dt2); ReportViewer2.LocalReport.DataSources.Add(rds); ReportViewer2.LocalReport.DataSources.Add(rds2); ReportViewer2.LocalReport.ReportPath = "reports/flybuygoa.rdlc"; ReportParameter[] rptParam = new ReportParameter[] { new ReportParameter("input", TextBox1.Text), new ReportParameter("venue", TextBox2.Text), new ReportParameter("gvenue", TextBox3.Text), }; ReportViewer2.LocalReport.SetParameters(rptParam); ReportViewer2.LocalReport.Refresh(); }