This is a migrated thread and some comments may be shown as answers.

The type of column with name PropertyName is not numeric

1 Answer 118 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Carl
Top achievements
Rank 1
Carl asked on 14 Oct 2009, 03:41 PM
Hi there,

I have spotted a strange problem which I have managed to get around but thought it worth sharing:

I have a report whose datasource was an IList of a custom object. The custom object's class has an int property; 'PropertyName' in this example. On my report I have a table of data and two charts, all bound to the same data source. The table rendered without any issues, however the chart came up with the error mentioned in the title and would not render. This report had worked initially so it surprised me to learn that a very minor change had caused this error.... if I change the datasource from an IList to a List the error disappears. 

Hopefully this will save somebody the pain gone through to rectify this, and perhaps this issue could be looked into and maybe addressed.

Thanks, Carl

1 Answer, 1 is accepted

Sort by
0
Rachel Carvalho
Top achievements
Rank 1
answered on 25 Nov 2009, 07:50 PM
Hi! I was having the exact same issue (except I was using an array of my custom object) and would never have thought it had to do with anything...

I changed from MyObject[] to List<MyObject> and it worked as expected. This seems to be a bug.

Thanks a lot for your post, it saved me a lot of time :)
Tags
General Discussions
Asked by
Carl
Top achievements
Rank 1
Answers by
Rachel Carvalho
Top achievements
Rank 1
Share this question
or