display unhandled Exception

Stimulsoft Reports.NET discussion
Post Reply
MARIMUTHU K
Posts: 101
Joined: Wed Jul 26, 2006 8:03 am
Location: CHENNAI-TN, INDIA

display unhandled Exception

Post by MARIMUTHU K »

hi hi hi,

I am writing following fx in Expression


if(PageNumber==1)
"Hi"

this expression wrote and preview, had again Edit Expression display following Errors.

Please find and fix that


An unhandled exception has occurred in a componenet in your application Clik continue and Application will ignore this error and attempt to continue.

Index was out of Range . Must be non-negative and less than the size of the collection.
Parameter name : StartIndex



Regards,
KMarimuthu.
Marimuthu K
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

display unhandled Exception

Post by Edward »

KMarimuthu wrote:hi hi hi,

I am writing following fx in Expression

if(PageNumber==1)
"Hi"

this expression wrote and preview, had again Edit Expression display following Errors.
Please find and fix that
An unhandled exception has occurred in a componenet in your application Clik continue and Application will ignore this error and attempt to continue.
Index was out of Range . Must be non-negative and less than the size of the collection.
Parameter name : StartIndex

Regards,
KMarimuthu.
Please try following code for the Expression:

Code: Select all

{PageNumber==1 ? "Hi":""}
Thanks!
Post Reply