You use a try..catch block. Look up the topic
Try-catch exception handling
in VS.Net help. You would also want to post VB.Net question
in one of the dot net newsgroups. You can use:
microsoft.public.dotnet.languages.vb
-Sue
On Thu, 11 Aug 2005 16:28:16 +0200, "Eitan M"
[quoted text, click to view] <no_spam_please@nospam_please.com> wrote:
>Hello,
>I am using VB (VS .NET)
>Also, I am using microsoft application block.
>After calling and running a database command (select)
>I get an exception.
>I want to catch and display this error string.
>
>How can I do that ?
>
>Thanks :)
>