Hello,
I am completely stumped. I have a program that pulls information stored in a database, assigns the database values to a corresponding class. The class has a print method that prints the values of it's fields. The users type in either an order id or order date range and then it finds those orders and prints them out to a text file. The problem I am having is that once in a awhile, depending on what id's and date's you pick, the text file will print out garbage like this. "〢Ⱒⰱ潋瑲刬瑵慨湮圬扥†′慍歲瑥㔬㈶‸⁗㈱琰瑓敲瑥Ⱜ汁楳Ɒ䱉㘬㠰㌰" I am completely clueless here because when I debug it, all the values show correctly in the class, the print method, and result set. What could be the problem? Has anyone had this happen to them?
The OS is Windows Vista, the language I'm using is C#. I am using a StreamWriter class with a FileStream as a parameter.
This only happens with some orders. Like if I pick order 7 or order 1-6 it works fine, but if I pick 1-7, I get the weird language. ????
Thanks