My first ASP. NET webpage

Source: Internet
Author: User

Because I have developed a webpage based on a developed website, it is my first ASP. NET webpage.

Figure 1

 

Figure 2

 

Requirement: some resources are allocated to user B each time the task is assigned. After the task is completed, user a wants to get feedback in time to release the resources; note that after the task is completed, B still wants to retain resources until it is no longer needed. The requirement is to provide a Page C to obtain the list of resources to be released. 1.

 

DESIGN: provides a calendar control that allows a to obtain information about resources to be released on a specified day by clicking the date. B submits resource-related data through other pages, such as updatedtime, status, and recycleresourcesornot. Page C displays the resource data obtained from SQL, and needs to meet the requirement that a can directly obtain the list of resources to be released from the page. For example, you can directly copy the value of the resource column from the page. 2.

 

Implementation:

  1. Title
    Add a lable to the display. The current date is displayed by default when you load the page. When you click the calendar control to change the time, the display date is also dynamically changed.
  2. Calendar Control
    Click the event to get the selected date as the sqldatasource Control Parameter and determine the date validity.
  3. Export to excel
  4. Gridview/sqldatasource Control
  5. Magicmirror button
    In the click event, the property value of the gridview. Columns. Visible column except the resource column is reversed. In this way, only the resource column is visible at one click, and then all columns are visible at one click.

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.