I need to load a file and display the contents in a textbox.
I am using asp.net and Visual C# 2005
I tried out this coding
Expand|Select|Wrap|Line Numbers
- string filename = (@"c:\download.txt");
- Response.Clear();
- Response.Flush();
- Response.WriteFile(filename);
I want the file contents to be displayed in the text box
Kindly help
Thanks