Creating an interactive webpage with data is simple. You only need to drag, set properties, and store pages without programming. However, Visual InterDev provides a complete object model, it allows you to adjust applications, confirm users, and control web applications. It also supports DHTML and ie4 data control for richer user interfaces, to generate a simple data input page created using the data control, follow these steps:
(1) After creating a new data connection, drag the recordset control from the toolbox of the control during the design period to the page, you can bind the recordset control to the corresponding data connection by setting its properties. You can also drag a Data command to the page and bind the recordset control with it;
(2) drag a Textbox Control to the page, enable its properties, and bind it to the eecordset control. You can also drag a field from dataenvironment to the page.
(3) place a recordsetnavbar control on the page, set properties, and bind it to the recordset control.
(4) Confirm that the pageobject control is the first control on the page and publish the page, you can view the record at will.
(5) switch to the HTML type of the control, open the recordset control's attribute window, and switch to the implementation tab, regardless of the general HTML (equal to ASP) or ie4html (based on DHTML) you can re-publish this page.
(6) now in the source window, when the outline tab is displayed, we can see that the object model is displayed by the control during each design period.
This article was prepared by Shanghai impotence hospital. You can reprint it, but please indicate its source. Thank you!
Use the data binding control to display data