Displaying data by using a data-bound control

Source: Internet
Author: User
Controls | data | show | controls create interactive Web pages with data it's easy to just drag, set properties and save pages without programming, but Visual InterDev provides a complete object model that allows you to tweak applications, make user confirmations, and control Web applications. also supports DHTML and IE4 data control for a richer user interface, the steps to build a simple data entry page that uses a data control are as follows:

(1), after creating a new data connection, drag the recordset control from the toolbox of the design-time control onto the page, and by setting the control's properties to bind the recordset control to the corresponding data connection, you can also drag a data command onto the page, and binds the recordset control together with it;

(2), drag a TextBox control onto the page, open its properties and bind it to the Eecordset control, and you can drag a field directly from the DataEnvironment to the page.

(3), place a RecordsetNavBar control on the page, set the property and bind it to the recordset control.

(4) Confirm that the PageObject control is the first control on the page and publish the page so you can browse the record.

(5), toggle the type of HTML that uses the control, open the Properties window of the recordset control and cut to implementation Tab, which can be republished either by selecting generic HTML (equal to ASP) or ie4html (based on DHTML).

(6), now to the source window, when outline tab is displayed, you can see that the object model is exposed by each design-time control.

This article by the Beach Boy finishing production, you can reprint, but please specify its origin, thank you!



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.