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

Problem with Dataset and column containing '.'

1 Answer 17 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 2
Michele asked on 25 Aug 2009, 08:44 AM
Hello,
I'm trying to use the Telerik Reporting and I've created a dataset via visual studio 2008.
I've to use an old set of store procedures that have columns name with spaces and . (I know it's an horror, I tried to ask the DBA for a change but no way).
The problem is that Telerik Reporing doesn't like the . in the column name (I receive an out of boundaries exeption) ... is there a way to escape it?
Thanks

Paolo

1 Answer, 1 is accepted

Sort by
0
Accepted
Milen
Telerik team
answered on 26 Aug 2009, 04:19 PM
Hi Paolo,

If you have such reserved symbols in your field names, you need to surround the name in [ and ] symbols in order to use the field in an expression. For example:

=Fields.[My Column]
=Fields.[My.Column]

Hope this information helps.

Kind regards,
Milen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Michele
Top achievements
Rank 2
Answers by
Milen
Telerik team
Share this question
or