Introduction to ASP. NET Aries Tutorial 2: Configure a simple list page

Source: Internet
Author: User

Objective:

My friends expect me to work stably, but it's not mind-to-mind to start a business.

If life is doomed to a precarious, then the rain ahead.

The most machine start to see new job opportunities, welcome to recommend, start-up companies can also!

Meanwhile, take advantage of the free time, grasp the series of tutorials to finish.

Thank you for your attention and support.

Step 1: Prepare the database and tables (or views)

Because the framework supports cross-database, it is possible to find a database without having to control the database of the system permissions first.

650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/17408/201611/17408-20161115012309560-413083794.png "/>

Of course you can also find a view (only the view cannot edit or delete "permission control")

Step 2: Configure the database link:

650) this.width=650; "src=" Http://images2015.cnblogs.com/blog/17408/201611/17408-20161115012529248-1393441741.png "/>

Use the database name +conn as name (this is a cross-library convention, do not mess around).

This will have two databases:

Conn: System User Rights library (comes with a text database).

Democonn: As a business library (MSSQL example).

Step 3: Add a new menu

650) this.width=650; "src=" Http://images2015.cnblogs.com/blog/17408/201611/17408-20161115013057420-1763207926.png "/>

Fill in the following:

650) this.width=650; "src=" Http://images2015.cnblogs.com/blog/17408/201611/17408-20161115013427123-1670609013.png "/>

The file that corresponds to the page is:

650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/17408/201611/17408-20161115110744170-343278423.png "/>

then click Save.

Many users at this time asked, how the page did not come out?

That is because the current role does not have the permissions of this page, to the role permissions to configure it.

Step 4: Configure permissions

650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/17408/201611/17408-20161115013656029-307305959.png "/>

After entering the page:

650) this.width=650; "src=" Http://images2015.cnblogs.com/blog/17408/201611/17408-20161115013754248-1141802885.png "/>

At this time, F5 refresh the page is out:

650) this.width=650; "src=" Http://images2015.cnblogs.com/blog/17408/201611/17408-20161115021438154-1699155002.png "/>

The headings are in English, they have to be changed into Chinese, and some fields do not want to be displayed:

Step 5: Configure the table header

650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/17408/201611/17408-20161115022045545-292663994.png "/>

Click to enter the configuration interface:

650) this.width=650; "src=" Http://images2015.cnblogs.com/blog/17408/201611/17408-20161115022419576-2095259242.png "/>

Here a simple configuration of the name, set the hidden, tick out a search, looking back at the interface:

650) this.width=650; "src=" Http://images2015.cnblogs.com/blog/17408/201611/17408-20161115022512435-1979616643.png "/>

A simple list page (including the function of adding and deleting changes)

Configuring the documentation, you can see: ASP. Aries DataGrid Configuration Header Description Document

End:

However, the business is complex, songs are sung: Not so simple, you can ...

This is a development framework, not a configuration framework.

Next, we introduce the development of a list page in code.

ASP. Aries Introduction Tutorial 2: Configure a simple list page

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.