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.

Reply via email to