Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Data Binding with Tabular Data Control - Lecture - Dynamic HTML - Prof. Aishwarya Bhat, Lecture notes of Programming Languages

Detailed informtion about Dynamic HTML, Data Binding with Tabular Data Control, Introduction , Data Source Objects , Simple Data Binding .

Typology: Lecture notes

2010/2011

Uploaded on 09/06/2011

amit-mohta
amit-mohta 🇮🇳

4.2

(152)

89 documents

1 / 16

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Dynamic HTML
Data Binding with Tabular Data Control
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Data Binding with Tabular Data Control - Lecture - Dynamic HTML - Prof. Aishwarya Bhat and more Lecture notes Programming Languages in PDF only on Docsity!

Dynamic HTML

Data Binding with Tabular Data Control

16.1 Introduction

  • Data binding
    • Data no longer reside exclusively on the server –Data can be maintained on the client.
  • Data are sent to the client and then all subsequent manipulations take place on that data directly on the client. –Eliminate server activity and network delays

16.2 Simple Data Binding

* Data file

  • Header row
    • Specifies the names of the columns

below.

  • begins data file with a header row.
  • Text qualifiers (@)
  • Enclose data in each field
  • Field delimiter (| )
  • Separate each field
  • Recordset
  • a set of data

Intro to Data Binding

  • (^) The param tag specifies parameters for the object in the object element.
  • (^) Attribute name is the parameter name and attribute value is the value.
  • (^) Parameter DataURL is the URL of the data source (HTMLStandardColors.txt).
  • (^) Parameter UseHeader , when set to true, specifies that the first line of our data file has a header row.

XHTML Color Table

Click to move forward in the recordset.

Color Name:
Color RGB Value:

HTML Program : DB.html

Data Source : HSC.txt

  • (^) The object tag inserts the Tabular Data Control— one of the Microsoft ActiveX controls built into Internet Explorer 5.5.
  • (^) Attribute classid specifies the ActiveX control to add to the Web page.
  • (^) In the above example we have used the classid of the Tabular Data Control.

Binding to a table Binding data to a table element is the most important feature of data binding.

Binding Data to a table

Color Name Color RGB Value