I have a report that has a textbox and gets it's values from a MS-SQL database, when the textbox has a value of 0 I would like the text box to display text.
For example,
If fields.Cost is equal to 0 then display "No Cost"
Or sometimes, if the value is 0 I would like it to display nothing at all.
How would I go about doing that?
Thanks,
Brett
IzinRaporu
rapor = new IzinRaporu(); // my report class
rapor.DataSource =
Servis.izinRaporla(Convert.ToInt32(TextBox1.Text)); // I'm creating a new SqlDataAdaptor
this.rptView.Report = rapor; // rptView is my ReportViewer control
This code works on an aspx page but it doesn't work on a user control. In user control after setting report object to the Report parameter of ReportViewer, contructor of report is called again and datasource of the report becomes null.
Do you have any idea?
Thanks.
I have a table with two columns (description, value) and I would like show description in legend and value in the Pie Chart.
How could I do this?
Thanks
I have a Telerik Reporting Q1 2008 SP1 and a report that I pass a parameter to. I have it setup to load in a RadWindow and it works great.
I would like to e-mail the report and if I hardcode the parameter in it works great.
What I can’t figure out is how to pass the parameter to the report when it generates it for e-mail.
If anyone has any suggestions I would appreciate it.
Thanks,
Brett