C# Choose from two xml files to read
<p>I want to choose from two files to read according to the comboBox19 like below:                 </p>

<pre><code>           if (comboBox19.Text == "01")  XmlReader reader = new XmlReader ("C:\\Ticket Format ID01.xml");
           else if (comboBox19.Text == "02" ) XmlReader reader = new XmlReader("C:\\Ticket Format ID02.xml");
            while (reader.Read())
            {
                if (reader.IsStartElement())
                {
                    switch (reader.Name)
                    {
                       case:// case coding here
                     }
                }
           }
</code></pre>

<p>But there's error when I compile. The error message is "Embedded statement cannot be a declaration or labeled statement".
How to solve this guys?</p>
