Is this possible? I wish to use a For Loop or something the get all the entries in an enum...
Regards, ™ As a gesture of gratitude please consider rating helpful posts. c",) Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system
The Enum class has several static members, including GetNames and GetValues, e.g.: Code: foreach (string val in Enum.GetNames(typeof(DialogResult))) { MessageBox.Show(val); }
foreach (string val in Enum.GetNames(typeof(DialogResult))) { MessageBox.Show(val); }
Why is my data not saved to my database? | MSDN Data Walkthroughs VBForums Database Development FAQ My CodeBank Submissions: VB | C# My Blog: Data Among Multiple Forms (3 parts) Beginner Tutorials: VB | C# | SQL
Thanks again!
Forum Rules