Problem with dictionary Variables, Why?
Posted: Sat Feb 26, 2011 8:09 am
Hi, I have a report in c # which has 3 variables. I send the variables with the following statement and the variables have value but are not shown in the report. Why can it be?
Other times it worked without problems in VB.
report.RegData(DataSet);
StiWebViewerFx1.Report = report;
//report.Dictionary.Variables["Nom"].Value = Request["Nom"].ToString();
report.Dictionary.Variables.Items[1].Value = Request["Nom"].ToString();
report.Dictionary.Variables.Items[2].Value = Request["Value2"].ToString();
report.Dictionary.Variables.Items[3].Value = Request["Value3"].ToString();
Other times it worked without problems in VB.
report.RegData(DataSet);
StiWebViewerFx1.Report = report;
//report.Dictionary.Variables["Nom"].Value = Request["Nom"].ToString();
report.Dictionary.Variables.Items[1].Value = Request["Nom"].ToString();
report.Dictionary.Variables.Items[2].Value = Request["Value2"].ToString();
report.Dictionary.Variables.Items[3].Value = Request["Value3"].ToString();