private void button1_Click_1(object sender, EventArgs e) { Report3 rep = new Report3(); test ds = new test(); accountTableAdapter ct = new accountTableAdapter(); ct.Fill(ds.account); rep.SetDataSource(ds); rep.SetParameterValue("value2", comboBox1.SelectedItem.ToString()); crystalReportViewer1.ReportSource = rep; }