Can I set filters for the report in runtime?
Thanks.
Filter
Filter
Please use following code:
StiDataBand band = stiReport1.GetComponents()["DataBand1"] as StiDataBand;
band.Filter.Value = "{Category.CategoryName==\"Beverages\"}";
stiReport1.Compile();
stiReport1.Show();
StiDataBand band = stiReport1.GetComponents()["DataBand1"] as StiDataBand;
band.Filter.Value = "{Category.CategoryName==\"Beverages\"}";
stiReport1.Compile();
stiReport1.Show();