View folders of network hard disks designed by ASP. NET

Source: Internet
Author: User
Just like operating a local computer, you need to provide each network user with a hard disk space. After logging on, you can manage your own space. Management is multidimensional. First, you should be able to see all the content in your folder. In addition, you need to provide support for multi-level folder directories.
The examples to be introduced below include many functions of "online hard disk", which will be introduced step by step. First, create a project instance, design the main interface, and finally introduce the implementation of each function.
Create a new project
To create a new project, follow these steps:
(1) open the MicroSoft Visual Studio. NET application.
(2) select "file" | "new" | "project" to open the "new project" dialog box, as shown in Figure 1. Select and set: Select "Visual C # Project" in "project type", and then select "ASP.. NET Web application, and then change the position shown below the dialog box to http: // localhost/WebDisk. Click OK to create a new project.
Figure 1 new project settings
(3) after the project is created, a created Web page named WebForm1.aspx is opened. Select "View" | "solution resource manager" to open the "solution Resource Manager" dialog box. You can manage all the resources of the project in a unified manner, and you can see the WebForm1.aspx mentioned just now.
(4) select "project"> "add new project" to open the "add new project" dialog box. Select "Web form" in "template" on the right, and rename the name NetWorkDisk. aspx in the lower left corner. Click open to add a new item, as shown in Figure 16-2.
Figure 2 "add new project" dialog box
Main interface design
After creating a project and a new item, you must design the main functional interface. Many Server controls are required to make the user interface more user-friendly. As shown in figure 3, the designed functional interface is illustrated in the following steps.
Figure 3 "network hard drive" main interface design
(1) select "View"> "toolbox" to open the "toolbox" dialog box.
(2) double-click NetWorkDisk. aspx in "server resource manager" and select the "design" command in the lower left corner of the page. Then you can add the control.
Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.