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

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

am 04.01.2008 10:05:33 von 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

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

am 04.01.2008 12:02:08 von MR. Arnold

"forest demon" wrote in message
news:db39ce35-1c2e-4284-9ed1-3d8a48dd002e@q39g2000hsf.google groups.com...
>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.

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

am 05.01.2008 01:51:57 von forest demon

On Jan 4, 4:02=A0am, "Mr. Arnold" wrote:
> "forest demon" wrote in message
>
> news:db39ce35-1c2e-4284-9ed1-3d8a48dd002e@q39g2000hsf.google groups.com...
>
> >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? =A0So 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.

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