$₹€£
Wednesday, 19 April 2017
Stream writer in ASP.net
directory= HttpContext.Current.Server.MapPath(".")+"\\";
String fileName = "sri.txt";
StreamWriter sw =new StreamWriter(directory+"/"+ fileName,true);
sw.WriteLine("hello World");
sw.Flush();
sw.Close();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment