Page 302 - Open Soource Technologies 304.indd
P. 302

Event Driven Programming



                          Data control:  A  Data control is used as a mechanism for binding controls to a database using
                          DAO.
                          Data environment: The  data environment provides a standard interface for creating re-usable data-
                          related objects and for placing them on Web pages.
                          Data formatting:  The Data format object allows to display data with custom formatting, but write
                          it back to the database in the native format.

                          Data source:  A  data source  is a readily accessible object that provides data to any data consumer
                          (any class or control that can be bound to a source of external data).

                          Data validation: A  data validation is also enhanced using the CausesValidation property with the
                          Validate event.
                          Headers and footers: It contains information we want printed in the report and on each page.



                                        1. Write the program for add data from a ADO.

                                        2. How to make a table in Data base?



                          13.12  Self Assessment Questions


                              1. The data environment is a repository in your Visual InterDev Web
                                   (a) True                 (b) False
                              2. The primary component of the data environment is a data connection
                                   (a) True                 (b) False

                              3. The data environment supports
                                   (a) Object modal         (b) Subject model
                                   (c) Create modal         (d) None of the above

                              4. The power of Visual Basic is also leveraged to create the    in your application.
                                   (a) Single tier components  (b) Middle tier components
                                   (c) Two tier components  (d) None of the above
                              5. On the client side, several new data sources are available

                                   (a) True                 (b) False
                              6. The ability to dynamically bind a data source to a data consumer is
                                   (a) True                 (b) False

                              7. Data validation is also enhanced using the    property
                                   (a) Validate event       (b) Causes Validation
                                   (c) Both of above        (d) None of these


                          296                    LOVELY PROFESSIONAL UNIVERSITY
   297   298   299   300   301   302   303   304   305   306   307