Hi,
I am using RDLC in my reports.Can someone tell me the syntax for
IF THEN ELSE statement in RDLC?
I want to write else if loop in my expression.
Thnx in Advance
Dimansu
0
Light Poster
Recommended Answers
Jump to PostAdd the custom code function or use IIF.
Jump to PostOpen report property, select the code tab and add following code,
public Function Chk(n as integer) as string if n>80 Then return "A" else if n>70 Then return "B" else if n>50 Then return "C" else return "D" end if end if end if end function
Set …
All 5 Replies
kvprajapati
1,826
Posting Genius
Team Colleague
Dimansu
0
Light Poster
kvprajapati
1,826
Posting Genius
Team Colleague
Dimansu
0
Light Poster
chan_lemo
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.