A question about variables
Posted: Tue Jun 12, 2007 3:40 am
In my report, I have a databand where rows added from an XML-file I bind with the report in my C#-application. Is there anyway that I after creating the report can loop through all the rows in the databand and set a variable for each row based on conditions in my application?
For example: If I display the items from the XML-file in my application and have checkboxes for each row, then I in my stimulreport want a string-variable that has the value "checked" if the checkbox is checked, or the value "" if it isnt.
pseudo-code
foreach (row in databand1 in my stimulreport)
{
if (c#-rowCheckBox is checked)
row["variable"] = "checked";
}
Something like that. Is that possible?
For example: If I display the items from the XML-file in my application and have checkboxes for each row, then I in my stimulreport want a string-variable that has the value "checked" if the checkbox is checked, or the value "" if it isnt.
pseudo-code
foreach (row in databand1 in my stimulreport)
{
if (c#-rowCheckBox is checked)
row["variable"] = "checked";
}
Something like that. Is that possible?