I have a problem to save data in .csv file. void WriteLog(DataRow rzad) { StreamWriter sw = new StreamWriter(\"log.csv\", true);
I have the following problem. I finishing my application, which one do something. Simultaneously some code (drwaing charts and save data to log file) can be using by a few threads. I can\'t synchorniz
I need to make a function to send commands to the Stream from process.StandardInput. I am having an error with the writer not be initial开发者_开发知识库ized. How can I fix this?
I\'m receiving an output error while trying to redirect a process input from a file - reading the file content and writing it to the process input.
In C# 3.0, framework, vs. 3.0 (assembly mscorlib.dll, v2.0.50727) System.IO.StreamWriter has a.o. the following constructors:
I want to, basically, use the following code to edit a C# file: var file = new StreamReader(\"ftp://xxx.xxx.x.x/xxx.txt\"); //[开发者_开发百科ip address/file]
Question: What is different between FileStream and StreamWriter in .Net? What context are you supposed to use it? What is their advantage and disadvantage?
I have a page on an intraweb (that I didn\'t create) which allows a user to specify a .txt file and then it writes the results of a SQL stored procedure to the file using StreamWriter.
Client write to server - server read. and Server write to client - client not read. Server: using System;
I have to make an ASP.net form and only need to gather 3 fields: name, bday and email. Do you think it\'s best to write the info to a csv or xml file, or do you think it\'s worth it to write to a SQL