Friday, January 8, 2010
Write a single line of code to read the entire content of the text file.
User following code
string strContent = System.IO.File.ReadAllText(Server.MapPath("~/MyTextFile.txt"));
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment