0
我试图写在RDLC自定义代码2点函数的定义如下编写自定义代码的多个功能于报告RDLC
Public Function GetValue(ByVal total as Integer) As Integer
total = total - (total * 0.04)
Return total
End Function
Public Function GetCalValue(By caltotal as Integer) As Integer
caltotal = (caltotal - (caltotal * 0.04)) + (caltotal * 0.004)
Return caltotal
End Function
,但我收到以下错误:
Error 1 There is an error on line 5 of custom code: [BC30213] Comma or ')' expected.
C:\Users\user\Documents\Visual Studio 2012\Projects\WindowsApplication3\WindowsApplication3\Report5.rdlc WindowsApplication3
能
人请告诉我我犯了什么错误?
是的,这是一个愚蠢的错误。十分感谢你的帮助 :) –