[
  {
    "Id": "695354",
    "ThreadId": "278736",
    "Html": "\r\n<p>Hi community,</p>\r\n<p>i had a problem by reade a zip file on the fly.<br>\r\nI had multiple zip-files inside a zip-file. (<a href=\"http://www.file-upload.net/download-3866021/wb150068914.20111105-102737.zip.html\">here a sample file</a>&nbsp;at a one-click-hoster)</p>\r\n<p>My code so long:</p>\r\n<div style=\"color:black; background-color:white\">\r\n<pre><span style=\"color:blue\">\tusing</span> (FileStream fs = <span style=\"color:blue\">new</span> FileStream(fileWatchThread.FilePath, FileMode.Open))\r\n                {\r\n                    <span style=\"color:blue\">using</span> (ZipFile zipFile = ZipFile.Read(fs))\r\n                    {\r\n                        <span style=\"color:blue\">foreach</span> (ZipEntry zipEntry <span style=\"color:blue\">in</span> zipFile.Entries)\r\n                        {\r\n                            <span style=\"color:blue\">using</span>(Stream entryStream = zipEntry.OpenReader())\r\n                            {\r\n                                <span style=\"color:blue\">using</span> (ZipInputStream zipStream = <span style=\"color:blue\">new</span> ZipInputStream (entryStream))\r\n                                {                                    \r\n                                    <span style=\"color:blue\">using</span> (XmlTextReader reader = <span style=\"color:blue\">new</span> XmlTextReader(zipStream))\r\n                                    {\r\n                                        <span style=\"color:blue\">int</span> i = 0;\r\n\r\n                                        <span style=\"color:blue\">while</span> (reader.Read())\r\n                                        {\r\n                                            <span style=\"color:blue\">if</span> (reader.Name == <span style=\"color:#a31515\">&quot;row&quot;</span> &amp;&amp; reader.NodeType != XmlNodeType.EndElement)\r\n                                            {\r\n                                                i&#43;&#43;;\r\n                                                fileWatchThread.DataCount = i;\r\n                                            }\r\n                                        }\r\n                                    }\r\n                                }\r\n                            }\r\n                        }\r\n                    }\r\n                }\r\nBut this dont work :(</pre>\r\n</div>\r\n",
    "PostedDate": "2011-11-08T07:52:57.963-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "695840",
    "ThreadId": "278736",
    "Html": "<p>Hmmm, that's too bad.&nbsp; I wonder what the problem might be?</p>\r\n<p>How do you think you would go about diagnosing a \"it doesn't work\" situation?&nbsp; If there is an exception I suppose you;d want to look at a stacktrace, eh?</p>\r\n<p>If there's some other problem, I suppose you'd want to probably understand it better, describe it more thoroughly, so as to communicate the details of the problem to other people who might be able to help you. &nbsp;</p>\r\n<p>Maybe.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2011-11-09T06:16:08.08-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]