G
Guest
Dear All,
I am facing a problem,
I would like to do something after getting a value of a key from AppSettings
in web.config file.
I'd also like to do something if there is no any key in the AppSettings.
I know that if there is no any key in the web.config, the string will be null.
So it will throw exception "null pointer reference"
I would like to know how to code the program to do something while it throw
exception.
Thanks
I am facing a problem,
I would like to do something after getting a value of a key from AppSettings
in web.config file.
I'd also like to do something if there is no any key in the AppSettings.
I know that if there is no any key in the web.config, the string will be null.
So it will throw exception "null pointer reference"
I would like to know how to code the program to do something while it throw
exception.
Thanks