Click here to Skip to main content
16,010,427 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: database store! Pin
Colin Angus Mackay12-Jan-07 11:56
Colin Angus Mackay12-Jan-07 11:56 
GeneralRe: database store! Pin
ADY00712-Jan-07 12:11
ADY00712-Jan-07 12:11 
GeneralRe: database store! Pin
Mike Ellison12-Jan-07 12:17
Mike Ellison12-Jan-07 12:17 
AnswerRe: database store! Pin
Michael P Butler13-Jan-07 8:59
Michael P Butler13-Jan-07 8:59 
QuestionStore in TXT Pin
ADY00712-Jan-07 9:14
ADY00712-Jan-07 9:14 
AnswerRe: Store in TXT Pin
Not Active12-Jan-07 9:22
mentorNot Active12-Jan-07 9:22 
GeneralRe: Store in TXT Pin
ADY00712-Jan-07 11:24
ADY00712-Jan-07 11:24 
QuestionEnum [modified] Pin
shapper12-Jan-07 8:36
shapper12-Jan-07 8:36 
Hello,

I have an enum:

Public Enum Color
Red
Blue
Green
End Enum

I need:

1. Loop trough all enum items and get each one value (Ex: Red) and index (Ex: 1).

For Each color As Color In [Enum].GetValues(GetType(Color))
???
Next

2. Get an enum value (Ex: Red) by providing its index (Ex: 1)

I tried various options but I am not able to make this work.

Thank you for your Help,

Miguel




-- modified at 15:05 Friday 12th January, 2007
AnswerRe: Enum Pin
Not Active12-Jan-07 9:20
mentorNot Active12-Jan-07 9:20 
GeneralRe: Enum Pin
shapper12-Jan-07 13:57
shapper12-Jan-07 13:57 
GeneralRe: Enum Pin
Not Active12-Jan-07 14:09
mentorNot Active12-Jan-07 14:09 
QuestionGridview Question vb.net VS2005 Pin
Jonathan Snyder12-Jan-07 7:23
Jonathan Snyder12-Jan-07 7:23 
AnswerRe: Gridview Question vb.net VS2005 Pin
minhpc_bk12-Jan-07 21:20
minhpc_bk12-Jan-07 21:20 
GeneralRe: Gridview Question vb.net VS2005 Pin
Jonathan Snyder15-Jan-07 3:35
Jonathan Snyder15-Jan-07 3:35 
GeneralRe: Gridview Question vb.net VS2005 Pin
minhpc_bk15-Jan-07 4:26
minhpc_bk15-Jan-07 4:26 
GeneralRe: Gridview Question vb.net VS2005 Pin
Jonathan Snyder15-Jan-07 4:44
Jonathan Snyder15-Jan-07 4:44 
GeneralRe: Gridview Question vb.net VS2005 Pin
Jonathan Snyder15-Jan-07 5:17
Jonathan Snyder15-Jan-07 5:17 
GeneralUsing a Different Base Class Pin
Jonathan Snyder16-Jan-07 4:27
Jonathan Snyder16-Jan-07 4:27 
GeneralRe: Using a Different Base Class Pin
minhpc_bk16-Jan-07 13:41
minhpc_bk16-Jan-07 13:41 
GeneralRe: Using a Different Base Class Pin
Jonathan Snyder17-Jan-07 1:53
Jonathan Snyder17-Jan-07 1:53 
QuestionText box with sqlcommand in VB2005 Pin
VB_Student12-Jan-07 7:17
VB_Student12-Jan-07 7:17 
AnswerRe: Text box with sqlcommand in VB2005 Pin
minhpc_bk12-Jan-07 21:27
minhpc_bk12-Jan-07 21:27 
QuestionHigh memory consumption Pin
Jon Sagara12-Jan-07 5:00
Jon Sagara12-Jan-07 5:00 
AnswerRe: High memory consumption Pin
led mike12-Jan-07 5:26
led mike12-Jan-07 5:26 
GeneralRe: High memory consumption Pin
Jon Sagara12-Jan-07 5:35
Jon Sagara12-Jan-07 5:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.