Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

asp.net c# write string to text file

using (StreamWriter writer = new StreamWriter("email.txt", true)) //// true to append data to the file
{
    writer.WriteLine("your_data"); 
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #write #string #text #file
ADD COMMENT
Topic
Name
5+2 =