Click here to Skip to main content
15,887,585 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: some help Pin
Brij8-Nov-08 2:47
mentorBrij8-Nov-08 2:47 
GeneralRe: some help Pin
Christian Graus8-Nov-08 8:16
protectorChristian Graus8-Nov-08 8:16 
QuestionVB or C# Pin
Jooooe8-Nov-08 0:21
Jooooe8-Nov-08 0:21 
AnswerRe: VB or C# Pin
Christian Graus8-Nov-08 0:38
protectorChristian Graus8-Nov-08 0:38 
AnswerRe: VB or C# Pin
Brij8-Nov-08 3:11
mentorBrij8-Nov-08 3:11 
AnswerRe: VB or C# Pin
Paul Conrad8-Nov-08 13:17
professionalPaul Conrad8-Nov-08 13:17 
AnswerRe: VB or C# Pin
Jeremy Falcon9-Nov-08 10:27
professionalJeremy Falcon9-Nov-08 10:27 
QuestionCalling a switch case with different parameter??? Pin
Karan_TN7-Nov-08 22:03
Karan_TN7-Nov-08 22:03 
hai.
currently i m using asp.net with c# (.net 2005, framework 2.0)

switch (dropdownlist1.SelectedItem.Value)
       {
           case "1":

               Process1("Tab1", "Assessment1");
               break;
}


switch (dropdownlist1.SelectedItem.Value)
       {
           case "1":

               Process2("Tab1", "Assessment1");
               break;
}

switch (dropdownlist1.SelectedItem.Value)
       {
           case "1":

               Process3("Tab1", "Assessment1");
               break;
}


There are three switch cases as like above. INSTEAD OF THE ABOVE BLOCKS i thought to process as....


protected void Process_Record(string parameter_values)
    {
        switch (dropdownlist1.SelectedItem.Value)
        {
            case "1":

                parameter_values("Tab1", "Assessment1");
                break;
}
}


so that if this Process_Record function is process with appropriate parameter_values the switch can be processed. but i m getting the error 'parameter_values' is a 'variable' but is used like a 'method'

how to overcome it... help me plz. - KARAN
AnswerRe: Calling a switch case with different parameter??? Pin
Christian Graus7-Nov-08 23:47
protectorChristian Graus7-Nov-08 23:47 
AnswerRe: Calling a switch case with different parameter??? [modified] Pin
Zakir Hoosen8-Nov-08 2:00
Zakir Hoosen8-Nov-08 2:00 
Questionhow to show cathegorized pics ? Pin
Mir_As7-Nov-08 21:33
Mir_As7-Nov-08 21:33 
AnswerRe: how to show cathegorized pics ? Pin
Christian Graus7-Nov-08 23:48
protectorChristian Graus7-Nov-08 23:48 
GeneralRe: how to show cathegorized pics ? Pin
Mir_As8-Nov-08 0:45
Mir_As8-Nov-08 0:45 
GeneralRe: how to show cathegorized pics ? Pin
Christian Graus8-Nov-08 0:52
protectorChristian Graus8-Nov-08 0:52 
GeneralRe: how to show cathegorized pics ? Pin
Mir_As8-Nov-08 2:44
Mir_As8-Nov-08 2:44 
GeneralRe: how to show cathegorized pics ? Pin
Christian Graus8-Nov-08 8:17
protectorChristian Graus8-Nov-08 8:17 
Questionhow to show cathegorized pics in my site? Pin
Mir_As7-Nov-08 21:02
Mir_As7-Nov-08 21:02 
AnswerRe: how to show cathegorized pics in my site? Pin
Christian Graus7-Nov-08 23:48
protectorChristian Graus7-Nov-08 23:48 
GeneralRe: how to show cathegorized pics in my site? Pin
Oakman9-Nov-08 6:18
Oakman9-Nov-08 6:18 
QuestionXML file error Pin
Rinki Mukheraji7-Nov-08 20:26
Rinki Mukheraji7-Nov-08 20:26 
AnswerRe: XML file error Pin
Kannan Ar7-Nov-08 22:39
professionalKannan Ar7-Nov-08 22:39 
QuestionAsynchronous postback problem Pin
krishnaveer7-Nov-08 20:18
krishnaveer7-Nov-08 20:18 
QuestionHow to add new server controls by javascript Pin
goldenchance7-Nov-08 14:26
goldenchance7-Nov-08 14:26 
AnswerRe: How to add new server controls by javascript Pin
Sandeep Akhare7-Nov-08 20:16
Sandeep Akhare7-Nov-08 20:16 
QuestionHelp with FileUpload(Avoid duplication) Pin
SreeluMandiga7-Nov-08 10:31
SreeluMandiga7-Nov-08 10:31 

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.