Custom function
Hello everyone,
I need help with creating custom function which has current row of dataset as one of parameters. Is this somehow possible and if it is, then how?
Thank you
I need help with creating custom function which has current row of dataset as one of parameters. Is this somehow possible and if it is, then how?
Thank you
Comments
You may use a function like this:
MyFunc(object dataRow)
and call it from the report in this way:
MyFunc(Report.GetDataSource("MyTable").CurrentRow)
where dataRow may be System.Data.DataRow in case if you use TableDataSource, or of another type if you use business object.