Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enum data type
Message
From
10/01/2007 09:52:37
 
 
To
08/01/2007 22:05:48
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01183682
Message ID:
01184167
Views:
28
>May I know what is the data type used by enum? I have a combobox that use enum as population. It hits error if I bind it to a integer field.

Enums default to int, unless you specify otherwise ... however, you'll still need to do some casting. Could you post your ComboBox code so we can figure it out?

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform