Is there a way to do SSRS Expressions in C#

Go To StackoverFlow.com

3

I am working on a SQl Server Report Services project and the report I am creating requires some custom code. It seems that all expressions must be in VB.NET and I figured if there was an 'easy' way to switch that over to be C#, it would be helpful.

EDIT:

Well, I decided to move my code to another C# assembly that follows the patterns like this example.

2009-06-16 14:26
by JasonRShaver
those 'vb' expressions look just like the Access ones! I wonder where the Access dev team went .. - Mitch Wheat 2009-06-16 14:29


4

It's VBA (Visual Basic for Applications) rather than VB.NET, so it's not .NET, it's an embedded scripting language. Therefore I would expect that there's no way to switch to C#.

2009-06-16 14:30
by OregonGhost
well I was close in believing it was VBScript - TheTXI 2009-06-16 14:32
For the record, I really hated that it is VB* when I had to create a few records in our last large app. I'm not 100% sure it is VBA, but it looks so suspiciously like VBA, and it's the internal automation language for many Microsoft products anyway. Hopefully in the future they'll switch to .NET in general : - OregonGhost 2009-06-16 14:39
Oh, and, VB is VB, no matter if VB6, VBA, VBS or VB.NET. I don't like any of these. That's likely the motivation of asking to switch to C# as well - OregonGhost 2009-06-16 14:41


1

I believe that the reports are using something more along the lines of VBScript (Edit: OregonGhost says VBA which actually makes more sense than VBScript) than VB.NET (and very limited at that). I have not seen any way of switching it over to C#, and I would like to be proven wrong.

2009-06-16 14:28
by TheTXI


0

The short answer is no. And the language as described my MSDN is not really VB.NET, but Visual Basic

2009-06-16 14:31
by Rad
Ads