Hi
I'm using item.DataObject to get at the data in a report:
the data comes from SQL Server
and the column is named OptiClear
Code as follows:
==============
Private Sub detail_ItemDataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles detail.ItemDataBound
Dim item As Processing.ReportItemBase = DirectCast(sender, Processing.ReportItemBase)
Me.Total_OptiClear += DirectCast(item.DataObject("OptiClear"), Decimal)
===============
If the case of OptiClear is changed to Opticlear
ie A small c
The report previews fine in my windows project
but falls over in the Web Report Viewer
NOT A MAJOR PROBLEM
but it means that you have to make absolutely sure that the case of your item
is the same as the source column....
Any comments appreciated....
Regards
Martin Hoey
I'm using item.DataObject to get at the data in a report:
the data comes from SQL Server
and the column is named OptiClear
Code as follows:
==============
Private Sub detail_ItemDataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles detail.ItemDataBound
Dim item As Processing.ReportItemBase = DirectCast(sender, Processing.ReportItemBase)
Me.Total_OptiClear += DirectCast(item.DataObject("OptiClear"), Decimal)
===============
If the case of OptiClear is changed to Opticlear
ie A small c
The report previews fine in my windows project
but falls over in the Web Report Viewer
NOT A MAJOR PROBLEM
but it means that you have to make absolutely sure that the case of your item
is the same as the source column....
Any comments appreciated....
Regards
Martin Hoey