This is a migrated thread and some comments may be shown as answers.

Radgrid error exception message

0 Answers 89 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Allan
Top achievements
Rank 1
Allan asked on 01 Mar 2012, 04:07 PM
Hi,

I need to know how can I catch error message comming directily from my sql server.

For example:
I want the same result using try catch function of vb.net.

Try
    'Some sql command
Catch ex As Exception
    Label.Text = ex.Message
End Try

If I had some sql error message coming from server, It will be displayed in ex.message.


So I want after I edit some data in RadGrid, It display the same error on example above.


Thanks,

Allan.

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Allan
Top achievements
Rank 1
Share this question
or