Wednesday, March 7, 2012

An array in an object class

In my object class I have an array

Public myArray() as String

I pass this object class as the datasource to reportviewer

How do I access the array from the report? (I'm using reportviewer in visual studio 2005)

Thanks!

I wanted to add that the array is visible from within the report designer, but I can't seem to access items within the array.. I've tried:

Fields!myArray(0).Value, and it just gives an error.. It seems to work with parameters, but not with the data fields... HELP!

No comments:

Post a Comment