when designing in my own report class library, sample.dll so it can be used in my webapp,
the Integer Parameter needs to be (Int64) or else I would get cast error.
When the setting is Int64, i can click Preview and report comes up via the class library. If it's set to int,
But when I add this reference to my webapp to use the ReportViewer,
it doesn't like Int64 and gives the cast error, I debug in VS and see it's this line, so I change it to int, it works.
I don't think this is what supposed to happen?
They are both .Net 3.5, the class and webapp are even in the same solution.
I'm using Telerik Reporting Q3 2009 v. 3.2.9.1211 Trial
the Integer Parameter needs to be (Int64) or else I would get cast error.
Int64 territoryId = (Int64)this.ReportParameters["TerritoryId"].Value; |
When the setting is Int64, i can click Preview and report comes up via the class library. If it's set to int,
But when I add this reference to my webapp to use the ReportViewer,
it doesn't like Int64 and gives the cast error, I debug in VS and see it's this line, so I change it to int, it works.
int territoryId = (int)this.ReportParameters["TerritoryId"].Value; |
I don't think this is what supposed to happen?
They are both .Net 3.5, the class and webapp are even in the same solution.
I'm using Telerik Reporting Q3 2009 v. 3.2.9.1211 Trial