ASP.NET DropDown Selected Value C#?

Mark

New member
Hello I am creating an ASP.NET application but having troubles. I want a dropdown (manually inputted the values via design view) that when the user selects a value (c#, c++ or java) and clicks a button it switches to say either of the following: (in code)

C# -------------------------- public void Csharp()
C++ ------------------------- public void Cplusplus()
Java ------------------------- public void java()

how would i go around doing this? Using cases? Can i have an example?
 
Back
Top