Post the code fragment from the switch statement and we'll have a look, but
I suspect also that you simply missed a break;


Steve Holak
Senior Software Architect

Brokerage Concepts IS Dept.
610-491-4879

email:  [EMAIL PROTECTED]



                    Renu Sharma
                    <renu_sharma@INFOS        To:     [EMAIL PROTECTED]
                    YS.COM>                   cc:
                    Sent by: The              Subject:     Re: [DOTNET] .Net Compact 
Framework Query
                    DOTNET list will
                    be retired 7/1/02
                    <[EMAIL PROTECTED]
                    VELOP.COM>


                    06/03/2002 01:34
                    PM
                    Please respond to
                    The DOTNET list
                    will be retired
                    7/1/02






Probably u r missing break statement in switch-case. If you are using C#
break is must in switch -case statement.

Regards,
Renu

-----Original Message-----
From: PrashanthG
Sent: Monday, June 03, 2002 6:53 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET] .Net Compact Framework Query


Hi,
  I am trying to parse an XML file.I have a switch case which takes
XmlNodetype. The code works perfectly fine in .Net Framework. But with
Compact framework it is getting recognized in the IDE, but on compiling
it gives an error

"Control cannot fall through from one case label to another".

Can somebody please explain this and the work around if it exists.

Thanks
PrashanthG

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to