hello
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
but this will help me in writing the file in the page(screen)
I want the file contents to be displayed in the text box
Kindly help
Thanks
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
Code:
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