New DLL's does not support old DLL's functions

Stimulsoft Reports.NET discussion
Post Reply
ngaheer
Posts: 44
Joined: Sat Jul 22, 2006 1:12 am
Location: San Jose

New DLL's does not support old DLL's functions

Post by ngaheer »

Hi,

I have download your new DLL's (SR_2008.05.23_D2005), but it gives error in the following

line in our code.
"Dim tableName As String = dataSource.DataTable.TableName"

Code

For Each dataSource As StiDataSource In rptNew.Dictionary.DataSources
Dim tableName As String = dataSource.DataTable.TableName
Dim dt As DataTable = dataSet.Tables(tableName)
dataSource.Alias = dt.ExtendedProperties("DisplayName").ToString
Next

In this line of code the datasource.DataTable is coming nothing, so this gave error me of

"object reference is not set an instance"

But in old DLL's this code works fine.

So can you guide me how to solve this issue.

Thanks in advance
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

New DLL's does not support old DLL's functions

Post by Edward »

Could you send to us a sample for reproducing of the error to support[at]stimulsoft.com for analysis, please?

Thank you.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

New DLL's does not support old DLL's functions

Post by Edward »

Please add the following line before your loop:

report.Dictionary.Connect();

Thank you.
Post Reply