Inline code
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
I have a dropdown list defined like this : I would like to use some constants define for the “value” field I have the definition like this : public enum ctBuildingType { None = 1, Apartment = 2, House = 3, Townhouse = 4 } How can I use the inline code to replace the hardcode values with the ctBuildingType ? Can I do something like this: Florian Szoke