Monday, February 20, 2012

message box in rdl

hi everybody

i m using dynamic connection in rdl file firstly i m showing username and pwd . after this user name and pwd i make a connection string for my report. when i m entering invalid pwd, than report generate an error. and stop. is there any way by which i can trace error and flash a message box to user about his invalid user name or pwd.

thanks

If you use the report viewer controls, you can trap the ReportError event in your code. Otherwise, the error message will always be embedded in the report.

No comments:

Post a Comment