Hallo,
>
>gibt es einen kļæ½rzeren Weg als
>
>Array enValues = Enum.GetValues(typeof(Wochentag)); //Wochentag = enum
>myDay = (Wochentag)enValues.GetValue(4);
>Response.Write("Name=" + Enum.GetName(typeof(Wochentag), myDay));
>Response.Write(", Wert=" + Enum.Format(typeof(Wochentag), myDay,"D") + "<br>");
>
>um anhand des Zahlenwertes auf den Namen der zugeordneten Konstante zu kommen?
>
einfach ein Wochentag = (Wochentag)1;
Gruss
Alex
Kommt zur .NET Community Conference in Karlsruhe
http://www.dotnetgerman.com/ncc/abstract.aspx?ID=4
_______________________________________________
Csharp.net mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/csharp.net