I would use the TextReader class for this, then split the file as required with the SubString method of the String Object. If you are concatenating strings make sure you're using the StringBuilder object because of the immutable/mutable difference.
Whether you store to a file system or not is...
Yeah.. I wrote these two functions to serialize a file to send over a web service. They will do the trick for you.
public static bool UploadFile(string strPath, byte[] btFile)
{
try
{
FileStream objFileStream = new FileStream(strPath, FileMode.CreateNew, FileAccess.Write...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.