Nathan Baulch wrote:One of the many subtle changes between .net v1.1 and v2 is that the Type.GetX() methods are no longer guaranteed to return their array elements in the same order.Unfortunately the ListDataSource relies on this behaviour as it calls GetProperties() many times during its lifetime. This causes my reports to randomly move data all over the place and usually throw an exception as it attempts to force strings into check boxes and format booleans as datetimes.Fortunately it’s not too hard to implement a custom IDataReader which stores the PropertyInfo[] array rather than calling Type.GetProperties() over and over.Are there any plans to natively support the IBindingList interface at any stage? This would be a much cleaner and more consistent way to support binding to businesslogic/domain objects (which is only going to get more popular with Microsoft DLinq on its way, although I have no plans to move away from NHibernate anytime soon).Nathan
Nathan, could you upload your IDataReader derivative for us to study?
* fixed my original problem, it was a noobie error.
** I am guessing this bug requiring IDataReader derivative is fixed with the ActiveReports3 I am using today, (7/5/2006).
Thanks.
I have been looking for an answer to my problem where the report output gets data from the wrong fields. See http://www.datadynamics.com/forums/88417/ShowPost.aspx.
Have you found a solution or work-around for the problem?