asp.net a programming language, the size of the ability to document processing is often a manifestation of the size of a language function. In asp.net, the processing of a file is implemented primarily through a System.IO namespace in the. Net FrameWork SDK, which defines a number of class (Class), methods, and properties for file processing in the System.IO namespace, Methods and properties make it easy to do file processing in asp.net. Because there are many classes, methods, and properties defined in this namespace, these are not possible through this article. This article mainly unifies the example to introduce the basic operation to the file processing concretely.
The basic operation of the file is what we usually use. Specifically, the file read, write, copy, move, delete. Here are a few of these operations to specifically describe.
A Programming and operating environment
Windows 2000 Professional Edition,. Net FrameWork SDK Test Second Edition (Beta 2)
Two Read a file by ASP.net page
The running interface and results of this program are shown in the following illustration:
Figure 1: The running interface of the program
Figure 2: The running result interface of the program
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service