G
Guest
I'm new to .NET and web development so please forgive. What is the best way
to display an error message, particularly during development. For example I
handle an exception, let's say it's an oledb error thrown because a file does
not exist. I want to inform the user (me) that I just caught this exception.
What's the best way to do this? Do I add scripting to write something to
the browser? How to do this in C#?
Or do I create a blank webform and put the text on it? Seems heavy-handed.
Or how can I dynamically create a popup html page that says what it says
then can be dismissed?
Easy stuff I know but I'm not finding it in the docs, presumeably b/c I
don't know what keywords to search for yet (MessageBox() doesn't do it
to display an error message, particularly during development. For example I
handle an exception, let's say it's an oledb error thrown because a file does
not exist. I want to inform the user (me) that I just caught this exception.
What's the best way to do this? Do I add scripting to write something to
the browser? How to do this in C#?
Or do I create a blank webform and put the text on it? Seems heavy-handed.
Or how can I dynamically create a popup html page that says what it says
then can be dismissed?
Easy stuff I know but I'm not finding it in the docs, presumeably b/c I
don't know what keywords to search for yet (MessageBox() doesn't do it