enum help

  • Thread starter Thread starter rodchar
  • Start date Start date
R

rodchar

hey all,

i've created a report program that uses an enum to print the column headings
(which also controls where the column data goes)

this works ok, but i run into a problem when i want to change the column
order. what i have to do is rearrange the enum order, recompile, and it works.

anyone have any suggestions on changing the column order without recompiling
in this little scenario?

thanks,
rodchar
 
Does the enum have any business meaning? If so, put it in a table in
the database. Otherwise, put it as a web.config variable and "change
the order" from within .NET to avoid recompilation (modification of
web.config causes recompile) if it's used globally.
 
Does the enum have any business meaning? If so, put it in a table in
the database. Otherwise, put it as a web.config variable and "change
the order" from within .NET to avoid recompilation (modification of
web.config causes recompile) if it's used globally.
 
Back
Top