I've got report where I must load data from database manually in report connect event:
Dim ds As New Data.DataSet
ds.Tables.Add(Provider.User1(WebApp.CurrentSession.User.ID))
ds.Tables.Add(Provider.CaseDef(WebApp.CurrentSession.User.ID))
ds.Tables.Add(New Data.DataTable("kredyt"))
ds.Tables.Add(New Data.DataTable("CaseHeader"))
e.Report.Dictionary.Databases.Clear()
e.Report.Dictionary.DataSources.Clear()
e.Report.RegData(dbName, ds)
e.Report.Dictionary.Synchronize()
Unfortunately mapping of those data sources doesn't work
User.GetData("ID", ComboBox1.SelectedIndex) In web dialog returns DBNull while the same ComboBox1, populated was by User.NAME from the same table.
In rendering ti's the same problem. when I RegData all textboxes in data components populated by for example User.ID, User.NAME returns 0.
- Board index Reports Stimulsoft Reports.NET
- Search
-
- It is currently Fri Aug 15, 2025 6:38 am
- All times are UTC
How to regData on web?!
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.BLAZOR
- ↳ Stimulsoft Reports.ANGULAR
- ↳ Stimulsoft Reports.AVALONIA
- ↳ Stimulsoft Reports.PYTHON
- ↳ Stimulsoft Reports.JAVA
- 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
- Business Intelligence
- ↳ Stimulsoft BI Cloud
- ↳ Stimulsoft BI Designer
- ↳ Stimulsoft BI Server
- Public
- ↳ Talks
- ↳ Stimulsoft Reports.Flex
- ↳ Stimulsoft Reports.UWP
- ↳ Stimulsoft Reports.Silverlight