Wednesday, May 16, 2012

How to write the content of Textbox to text file in asp.net


using System.IO;
StreamWriter StrmWriter_obj = new StreamWriter(Server.MapPath("Test.txt"));  StrmWriter_obj.WriteLine(txtTest.Text); StrmWriter_obj.Close();

No comments:

Post a Comment

Comments

Search

Custom Search
Protected by Copyscape Plagiarism Software