I am evaluating stimulsoft report to use as reporttool in our application
To Show a report with data i'm using a dataset
However as the report renders i get an error message:
'mypath'\AppData\Local\Temp\kbaqjqji.0.cs(39,56) : error CS0117: 'string' does not contain a definition for 'ALGEMEEN_CONDITIE'
Where 'ALGEMEEN_CONDITIE' is the first field of the first table in stimulsoft datasourses in my report.
the dataset contains both the table and the field
How can i fill my report with a dataset without getting this error
Hereafter my code:
Dim myreport As New Stimulsoft.Report.StiReport
myreport.Load(Reportname)
Dim ds As DataSet
ds = FillDS(connstring, myreport.Dictionary.Databases, myreport.Dictionary.DataSources, dt)
myreport.DataSources.Clear()
myreport.Dictionary.Databases.Clear()
myreport.RegData(ds)
myreport.Dictionary.Synchronize()
myreport.Render()
myreport.Show()
Databinding With dataset error on field
Databinding With dataset error on field
Hello.
Thank you.
Please, send us your report template with sample data to reproduce your issue to support@stimulsoft.comGuido wrote:I am evaluating stimulsoft report to use as reporttool in our application
To Show a report with data i'm using a dataset
However as the report renders i get an error message:
'mypath'\AppData\Local\Temp\kbaqjqji.0.cs(39,56) : error CS0117: 'string' does not contain a definition for 'ALGEMEEN_CONDITIE'
Where 'ALGEMEEN_CONDITIE' is the first field of the first table in stimulsoft datasourses in my report.
the dataset contains both the table and the field
How can i fill my report with a dataset without getting this error
Hereafter my code:
Dim myreport As New Stimulsoft.Report.StiReport
myreport.Load(Reportname)
Dim ds As DataSet
ds = FillDS(connstring, myreport.Dictionary.Databases, myreport.Dictionary.DataSources, dt)
myreport.DataSources.Clear()
myreport.Dictionary.Databases.Clear()
myreport.RegData(ds)
myreport.Dictionary.Synchronize()
myreport.Render()
myreport.Show()
Thank you.
Databinding With dataset error on field
Got it working.
Had to make the relations after adding my datatset to make it work
thx for reply
Had to make the relations after adding my datatset to make it work
thx for reply
Databinding With dataset error on field
Hello,
Ok.
Let us know if you need any additional help.
Thank you.
Ok.
Let us know if you need any additional help.
Thank you.