Re: Error look up in .NET

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.

--
Dave Sexton

"Krish" <balacr@xxxxxxxxx> wrote in message news:1158137187.979418.242560@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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



.



Relevant Pages

  • Re: LDAP Performance (long)
    ... Cache the slapd's internal database lookups in slapd memory. ... The first is the new TAG:key lookup, ...
    (comp.mail.sendmail)
  • Re: Same database or another?
    ... that I have used the lookup wizard provided. ... if I choose to add tables to database that have absolutely no relation to ... >> work toward the capture of the feral animals. ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Database design question
    ... and what he is talking about is a single code ... Pro SQL Server 2000 Database Design ... > dont know the details of the lookup data. ... > What do we then do with the more "unknown" user-defined lookup data. ...
    (microsoft.public.sqlserver.programming)
  • Re: Lookup Tables and Field Validation Rule Properties
    ... I am in the process of designing my first database and plan to use this ... employees data and track down employees personal info, ... The tables in my original design contained many lookup fields but after ... The other question I asked was, instead of setting the above validation in the table level, can't I implement it in the Form Level. ...
    (microsoft.public.access.gettingstarted)
  • Re: Abbreviation List Tables Design, aka OTLT
    ... more than a descriptive lookup will get confusing, ... > be found in seperate records of a code file. ... > each value-pair corresponding to one record (adding that if you prefer ... > database can accurately define my data. ...
    (comp.databases.pick)