Hello,
I have managed to set a dataset to my tablix on my report viewer that will hold all items belonging to a bill. The issue I present you with is I cannot seem to add any parameters to my textboxes in my .rdlc report. Is this because I have added a connection to my database? Before I added my connection I could easily add parameters, but not anymore. Take a look at my report:
Attachment 96711
All the red rectangles is where I would usually have my parameters. Is there a way to programmatically do this?
rv = my report viewer form
rvRdlc = my report viewer control
tbJobNo = my textbox' job number name
JobNum = variable which holds the respective value (ex: 10000)
If I execute that,I will receive an error:
Attachment 96713
Thanks in advance
I have managed to set a dataset to my tablix on my report viewer that will hold all items belonging to a bill. The issue I present you with is I cannot seem to add any parameters to my textboxes in my .rdlc report. Is this because I have added a connection to my database? Before I added my connection I could easily add parameters, but not anymore. Take a look at my report:
Attachment 96711
All the red rectangles is where I would usually have my parameters. Is there a way to programmatically do this?
Code:
Dim rpJobNum = New ReportParameter("tbJobNo", JobNum)
rv.rvRdlc.LocalReport.SetParameters(rpJobNum)
rvRdlc = my report viewer control
tbJobNo = my textbox' job number name
JobNum = variable which holds the respective value (ex: 10000)
If I execute that,I will receive an error:
Attachment 96713
Thanks in advance