Error look up in .NET

  • Thread starter Thread starter Krish
  • Start date Start date
K

Krish

Hi All,
I want to maintain a error lookup table (ErrorCode - Error Message) for
my application. Can anyone suggest the best way to do it.

One way would be to store it in a Database table. Is there any other
better option?
Can I use resource file for it? or some other option is there in .Net.

I have seen VC++ programs using .h file for the same purpose. Is there
something similar in .NET?
Regards
Krish
 
Hi Krish,

For what purpose do you intend to use the lookup table?

Depending upon your answer your choices are numerous; XML, flat-file, database, embedded resource, Hashtable, class, constants,
etc.
 
Back
Top