in c# web or winforms,I need to filter conditions(all fields in a listbox) after rendered report,any ideas?
for example :
string str_filter="";
ArrayList col_list = new ArrayList();
StiReport report = new StiReport();
report.Load("c:\\test_list.mrt");
report.RegData(ds);
report.Render();
for (int i = 0; i < report.DataSources.Count; i++) //get all columns
{
for (int j = 0; j < report.DataSources.Columns.Count; j++)
{
col_list.Add(report.DataSources.Columns[j].Name);
}
}
col_list.Insert(0, "");
combox_col.DataSource = col_list;
str_filter=combox_col.items[0].toString()+"='abc'";
1.how to pass the str_filter to report???
2.in report design , it have a conditions dialog that can add conditons by user ,How to open the dialog using c# code?
thanks:feelgood:
- Board index Reports Stimulsoft Reports.NET
- Search
-
- It is currently Mon Oct 12, 2026 11:02 pm
- All times are UTC
filter query after rendered report
Stimulsoft Reports.NET discussion
Return to “Stimulsoft Reports.NET”
Jump to
- News
- ↳ News
- All-in-One
- ↳ Stimulsoft Ultimate
- Reports
- ↳ Stimulsoft Reports.WEB
- ↳ Stimulsoft Reports.NET
- ↳ Stimulsoft Reports.JS
- ↳ Stimulsoft Reports.WPF
- ↳ Stimulsoft Reports.PHP
- ↳ Stimulsoft Reports.PYTHON
- ↳ Stimulsoft Reports.JAVA
- ↳ Stimulsoft Reports for Angular
- ↳ Stimulsoft Reports for React
- ↳ Stimulsoft Reports for Vue.js
- ↳ Stimulsoft Reports for Blazor
- ↳ Stimulsoft Reports for Avalonia
- Dashboards
- ↳ Stimulsoft Dashboards.WEB
- ↳ Stimulsoft Dashboards.WIN
- ↳ Stimulsoft Dashboards.JS
- ↳ Stimulsoft Dashboards.PHP
- ↳ Stimulsoft Dashboards.BLAZOR
- ↳ Stimulsoft Dashboards.ANGULAR
- ↳ Stimulsoft Dashboards.PYTHON
- Forms
- ↳ Stimulsoft PDF Forms
- Products for Creators
- ↳ Stimulsoft Cloud
- ↳ Stimulsoft Designer
- ↳ Stimulsoft Server
- Public
- ↳ Talks
- ↳ Stimulsoft Reports.Flex
- ↳ Stimulsoft Reports.UWP
- ↳ Stimulsoft Reports.Silverlight