这是我的 VB.NET (2012) 代码,用于显示基于Combobox
(cmbCustomer)选择的报告,我想cmbCustomer.text
在报告上打印该参数。
Private Sub btnShow_Click(sender As Object, e As EventArgs) Handles btnShow.Click
Me.rpt_customerByDateTableAdapter.Fill(Me.customerByDateDataSet.rpt_customerByDate,
cmbCustomer.Text)
Me.ReportViewer1.RefreshReport()
End Sub