Bound DataRowView
Posted: Thu Apr 10, 2008 10:12 pm
Short version:
During Band.Rendering event in an application (not in the report), what is the bound DataRowView?
Long Version:
I've create a report with 2 bands. 1 band in master and the other is detail. They linked via a Relation.
At runtime, I used a DataSet to populate the data (via RegData).
All is well.
But now I decided to listen to the Band.Rendering event from my windows application (vb code).
For each execution of the Redering event, I want to do something based on the current data. I expect this current data to be a DataRow or DataRowView since I populated by report with a DataSet (with 2 DataTables) at runtime.
I tried myBand.DataSource.Position but it is useless because it resets to 0 on every loop of the master band.
Thanx in advance for your help.
I hope I explained well what I wanted to know.
During Band.Rendering event in an application (not in the report), what is the bound DataRowView?
Long Version:
I've create a report with 2 bands. 1 band in master and the other is detail. They linked via a Relation.
At runtime, I used a DataSet to populate the data (via RegData).
All is well.
But now I decided to listen to the Band.Rendering event from my windows application (vb code).
For each execution of the Redering event, I want to do something based on the current data. I expect this current data to be a DataRow or DataRowView since I populated by report with a DataSet (with 2 DataTables) at runtime.
I tried myBand.DataSource.Position but it is useless because it resets to 0 on every loop of the master band.
Thanx in advance for your help.
I hope I explained well what I wanted to know.