Manipulate Files in ASP.NET
The whole concept of File Manipulation in ASP.NET revolves around the System.IO namespace. This namespace has the classes required for reading and writing file manipulations. This startup article explains the concept of file manipulations, such as reading from a file, writing to a file and deleting a file, in ASP.NET from the ground up.
Creating a file and writing some content into it
As mentioned earlier, we need to have the namespace "System.IO" in our ASP.NET page for file manipulations. The first step is to import this namespace as follows.
VIEW ALL ASP.NET Tutorials