Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
code for download notepad file
May 06, 2011
hi i would like to download notepad file which i created in my application
please tell content type and addheader
Posted Date: May 06, 2011 Points: 20
If you mean my .txt file then the Content-Type = "text/plain"
If it is .exe then you can use Content-Type = "application/octet-stream"
Hope this helps
Hope this helps.
Thanks & Regards,
Posted Date: May 09, 2011 Points: 20
You can use Content-Type = "text/plain" in the respone.write() statement
Hope it helps
To post reply
Related Questions Related Questions
Code to create setup file .net
C# code to read the sql log file
Export code into Text File
Code to converting Text File Data into Xml File
Difference between Code File vs Class File in C#.NET
How to download aspx file?
how to make the code to call only the css in the file
How to write to a text file in C#
What is Code Access Security in .NET
How to copy a file from server to local system
Latest Forum Questions From The Same Category
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
What''s the difference between an interface and abstract class?
How to read Unicode form PDF File and Save into DataBase ?
How to identify the color format of eps/tiff using c#?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend