HOME         User: Anonymous search for  in 
Login
Username:

Password:

Navigation
Registered User Functions:
  1. Register New Account
Anonymous Functions:
  1. Home
  2. Users
  3. Archives
  4. Templates
  5. Articles
  6. MyGeneration Website
  7. MyGeneration Forums
Categories
    Application Type
    1. Command Line
    2. Graphical User Interface
    3. Library
    4. Sample
    5. Web Application
    Architecture Type
    1. Client-Server
    2. Distributed Computing
    3. Multi-Tier
    4. Peer-to-peer
    Operating System
    1. Linux
    2. Win32
    Programming Language
    1. ASP
    2. ASP.Net
    3. C#
    4. C++
    5. Firebird SQL
    6. J#
    7. Java
    8. Jet SQL
    9. JScript
    10. JSP
    11. MySQL
    12. Perl
    13. PHP
    14. PL/SQL
    15. PostgreSQL
    16. SQL
    17. Transact-SQL
    18. VB.Net
    19. VBScript
    20. XSLT
    Archive: .NET Enum Builders
    Author: my.generation
    Created: 1/6/2005 6:48:21 PM
    Last Updated: 12/12/2005 6:28:51 AM


    For now this is only the C# version, I'll add the VB.NET version soon.

    Basically, you choose a table and then a column for the Value and a Column for the Desc and it builds the enum. Here is the enum I built from the Northwind.Region table.

    namespace MyProject
    {
    	public enum Region
    	{
    		Eastern = 1,
    		Western = 2,
    		Northern = 3,
    		Southern = 4,
    	}
    }
    
    If you find a problem or need an enhancement uss the "Post a message" below.
    Templates (by Title)
    UpdatedTitleOutput LanguageUsername# Downloads# Views
    1/6/2005 C# Enum Builder C# my.generation 58876952
    Files (by FileName)
    No matching records found.
    Articles (by Title)
    No matching records found.
    Related Archives (by Title)
    No matching records found.
    Messages (by Date Created)
    Date Created
    12/16/2005 3:16:18 PM by my.generation :
    test test
    Copyright © 2004 MyGeneration Software. All rights reserved.
    Feedback: feedback@mygenerationsoftware.com
    Support: support@mygenerationsoftware.com