How can I get values from a Web Form into a report?

F

forest demon

I have a page with a ReportViewer instance on it. I have a
report(.rdlc file) defined and associated with the ReportViewer
instance.

I want to grab values from web controls(label, textbox, combobox, etc)
that exist on different web pages and populate parts of the report.

I can bind a dataset to the report with no problem, but I want some
other stuff as well(values from web controls, etc).

Is this possible? So far I can't figure out how to get at that stuff.

Thanks folks....

-
fd
 
M

Mr. Arnold

forest demon said:
I have a page with a ReportViewer instance on it. I have a
report(.rdlc file) defined and associated with the ReportViewer
instance.

I want to grab values from web controls(label, textbox, combobox, etc)
that exist on different web pages and populate parts of the report.

I can bind a dataset to the report with no problem, but I want some
other stuff as well(values from web controls, etc).

Is this possible? So far I can't figure out how to get at that stuff.

You make a dataset on the fly, you populate a table in the dataset from
controls on the form, you bind the dataset to the report.
 
F

forest demon

You make a dataset on the fly, you populate a table in the dataset from
controls on the form, you bind the dataset to the report.

that gives me something to work with....thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top