private void button1_Click(object sender, EventArgs e) { cr.SetParameterValue(0, comboBox1.Text); cr.SetParameterValue(1, textBox1.Text); cr.SetParameterValue(2, textBox2.Text); crystalReportViewer1.ReportSource = cr; }
private void Display_Click(object sender, EventArgs e) { cr.SetParameterValue(0, comboBox1_ID.Text); cr.SetParameterValue(1, comboBox1.Text); crystalReportViewer1.ReportSource = cr; }