In my report, I want to change the value of a textbox based on the value of the row data. I can't really use an expression because I may need to do a additional data lookup (depending on the data). Instead, I use the detail_ItemDataBound method to process the row data and change the text. At the same time (using the same method) I also change the visibility of another text box.
When I run the report, the visibility works fine, but the text is only changed on the row after the one being processed (the text for row n is displayed on row n+1).
Is detail_ItemdataBound the right place to do this processing? Would detail_ItemDataBinding be better?
When do I use each one?
TIA.
When I run the report, the visibility works fine, but the text is only changed on the row after the one being processed (the text for row n is displayed on row n+1).
Is detail_ItemdataBound the right place to do this processing? Would detail_ItemDataBinding be better?
When do I use each one?
TIA.