streamreader
StreamReader.EndOfStream produces IOException
I\'m working on an application that accepts TCP connections and reads in data until an </File> marker is read and then writes that data to the filesystem. I don\'t want to disconnect, I want to[详细]
2023-01-04 02:01 分类:问答Problem pulling data from website in .NET and C#
I have written a web scraping program to go to a list of pages and write all the html to a file.The problem is that when I pull a block of text some of the characters get written as \'�\'.How do I pu[详细]
2023-01-03 05:41 分类:问答How to string multiple TextReaders together?
I have 3 TextReaders -- a combination of StreamReaders and StringReaders.Conceptually, the concatenation of them is a single text document.[详细]
2023-01-01 22:00 分类:问答C# Stream Reader adding \n to XML
I use the StreamReader class to obtain XML for my GeoCoding process from Google. StreamReader srGeoCode = new StreamReader(WebRequest.Create(Url).GetResponse().GetResponseStream());[详细]
2022-12-31 13:47 分类:问答How could I read a very large text file using StreamReader?
I want to read a huge .txt file and I\'m getting a memory overflow because of its sheer size. Any help?[详细]
2022-12-31 13:42 分类:问答Reading HTML table data / html tag
I have some 50 pages of html which have around 100-plus rows of data in each, with all sort of CSS style, I want to read the html file and just get the data, like Name, Age, Class, Teacher. and store[详细]
2022-12-31 01:57 分类:问答StreamReader returning another char
I\'m trying to read the content of a file with a StreamReader, that receives a FileStream. The file has some spaces inside (char 32) and the StreamReader is reading them as 0 (char 48). The screenshot[详细]
2022-12-30 02:21 分类:问答Error opening streamreader because file is used by another process
I am developing an application to read an excel spreadsheet, validate the data and then map it to a sql table.The process is to read the file via a streamreader, validate the da开发者_开发技巧ta, manu[详细]
2022-12-28 06:23 分类:问答iphone scanning a dat file for data
I am trying to remake a pro开发者_JAVA百科gram I have made in C# in OBJ-C.In C# I used streamreader to search the data file for the line I am looking for then convert that line into a string that I ca[详细]
2022-12-26 21:41 分类:问答C# streamreader, delimiter.
What I have is a txt file that is huge, 60MB.I need to read each line and produce a file, split based on a delimiter.I\'m having no issue reading the file or producing the file, my complication comes[详细]
2022-12-25 00:21 分类:问答