public void ExtractNodes() { string HoldTheOrder = ""; //HttpPostedFile myFile = DatFile.PostedFile; //if ((myFile.FileName == null) || (myFile.FileName.Equals(""))) //{ // lblConfirm.Text = "Path is not correct!"; // return; //} string DestinationPath = @"C:\XMLOutput.txt"; //// create a file for output SWrtr = new StreamWriter(DestinationPath); XmlTextReader XMLRdr = new XmlTextReader("c:\\gt.xml"); // path of the xml file bool Flag; while (XMLRdr.Read()) { Flag = false; switch (XMLRdr.NodeType) ......
How to debug a window service