Click here to Skip to main content
15,916,288 members
Home / Discussions / C#
   

C#

 
GeneralRe: Geting variables from UserControl Pin
Robert Rohde7-Dec-06 7:27
Robert Rohde7-Dec-06 7:27 
GeneralRe: Geting variables from UserControl Pin
Muntyness7-Dec-06 8:16
Muntyness7-Dec-06 8:16 
QuestionSwitch Question Pin
mcd24247-Dec-06 5:55
mcd24247-Dec-06 5:55 
AnswerRe: Switch Question Pin
User 66587-Dec-06 6:00
User 66587-Dec-06 6:00 
AnswerRe: Switch Question Pin
Colin Angus Mackay7-Dec-06 6:05
Colin Angus Mackay7-Dec-06 6:05 
GeneralRe: Switch Question Pin
mcd24247-Dec-06 6:14
mcd24247-Dec-06 6:14 
GeneralRe: Switch Question Pin
Colin Angus Mackay7-Dec-06 6:18
Colin Angus Mackay7-Dec-06 6:18 
AnswerRe: Switch Question Pin
Robert Rohde7-Dec-06 6:19
Robert Rohde7-Dec-06 6:19 
Hi,

the switch statement isn't designed for such a thing. Use if-then-else-if instead:
if (pInfo.ParameterType == typeof(String)) {
   Response.Write("is type of string");
} else if (...) {
} else if (...) {
}


Robert
GeneralRe: Switch Question Pin
Not Active7-Dec-06 6:27
mentorNot Active7-Dec-06 6:27 
GeneralRe: Switch Question Pin
Robert Rohde7-Dec-06 7:19
Robert Rohde7-Dec-06 7:19 
GeneralRe: Switch Question Pin
Not Active7-Dec-06 7:31
mentorNot Active7-Dec-06 7:31 
GeneralRe: Switch Question Pin
Robert Rohde7-Dec-06 7:46
Robert Rohde7-Dec-06 7:46 
QuestionDatabase Problem Pin
mfcuser7-Dec-06 5:34
mfcuser7-Dec-06 5:34 
AnswerRe: Database Problem Pin
Paul Conrad7-Dec-06 5:37
professionalPaul Conrad7-Dec-06 5:37 
GeneralRe: Database Problem Pin
mfcuser7-Dec-06 5:50
mfcuser7-Dec-06 5:50 
GeneralRe: Database Problem Pin
Paul Conrad7-Dec-06 5:56
professionalPaul Conrad7-Dec-06 5:56 
GeneralRe: Database Problem Pin
mfcuser7-Dec-06 6:10
mfcuser7-Dec-06 6:10 
GeneralRe: Database Problem Pin
Colin Angus Mackay7-Dec-06 6:15
Colin Angus Mackay7-Dec-06 6:15 
AnswerRe: Database Problem Pin
Colin Angus Mackay7-Dec-06 6:12
Colin Angus Mackay7-Dec-06 6:12 
GeneralRe: Database Problem Pin
mfcuser7-Dec-06 6:27
mfcuser7-Dec-06 6:27 
GeneralRe: Database Problem Pin
Colin Angus Mackay7-Dec-06 9:17
Colin Angus Mackay7-Dec-06 9:17 
GeneralRe: Database Problem Pin
Paul Conrad7-Dec-06 11:18
professionalPaul Conrad7-Dec-06 11:18 
GeneralRe: Database Problem Pin
mfcuser7-Dec-06 6:43
mfcuser7-Dec-06 6:43 
GeneralRe: Database Problem [modified] Pin
User 17164927-Dec-06 7:22
professionalUser 17164927-Dec-06 7:22 
GeneralRe: Database Problem Pin
Colin Angus Mackay7-Dec-06 9:19
Colin Angus Mackay7-Dec-06 9:19 

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.