Free templates
Menu Search Free templates

Create, read and delete text files (C#, VB and ASP.NET) | Free code

Here you can download free code (C# and VB) to create, write, read and delete text files but also code to create a text file that a user can download immediately without the need to save the file on the web server.

If you want to export data from a website or a database then it may be easy to create and write to standard text files that then can be read or imported by another or the same application. XML files is an alternative to plain text files (. txt) for export and import of data, but it is easier to create plain text files than to create XML files.

In this template with free code to create, write, read and delete text files, is it six different examples that show how these operations can be performed for plain text files. There is one example of saving a text file to a web server and writing text into this text file. Other examples concern how to add text to a text file that exists on a web server, how to read the content from a text file and how to delete a text file that is stored on web server.

Remember that you in your web hosting account must have made a setting for the correct version of "ASP.NET" on your website (the version listed in the "Web.config" file). We are using Visual Web Developer 2005 (2010) Express Edition for web programming.
Updated: 01/01/2015 | Created by All-templates.biz

Download Create, read and delete text files (C#, VB and ASP.NET) | Free code ยป

Tags: web code file