I am developing a windows application and want to generate an invoice based on customer selected.
Wanted to pass the parameter to report at run time. I have one dropdown in which I list all the customers, when user select the customer invoice for that customer should get generated.
For generating invoice report. I am using report viewer control and a .rdlc file.
I have bind a database view with the report viewer as a datasource.
Report is getting generated but for the first customer only. Want to pass the customer id to report and invoice should generate for passed customer id.
Thank in advance.