Hi
I am having a text file in application path ~/Upload/txtName.txt.
I am having some content inside the txtName.txt.
I need to show the content inside the txtName.txt. to the Text box dynamically.
System.IO.StreamReader myFile = new System.IO.StreamReader("c:\\test.txt"); string myString = myFile.ReadToEnd(); myFile.Close(); TextBox1.Text = myString;
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.