How to pass parameters to devexpress XtraReport from combobox
问题 I have a form that contains 3 comboboxes and a button like shown below and a report that containes 3 parameters that are bounded to richtext i used the following code for this process when clicking the button Print but parameters aren't passed and richtext fields are empty private void btnPrint_Click(object sender, EventArgs e) { // Create a report instance. var report = new XtraReport1(); // Obtain a parameter, and set its value. report.ClassName.Value = cmbClass.SelectedText; report