Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Data Connection using ADO DC

490 views

Published on

ADO DC
ActiveX Data Objects

  • Be the first to comment

Data Connection using ADO DC

  1. 1. By: Kumari Purbanjali Das MSc. IT 2nd Sem Guide: Ms. Preeti Jain SESSION: 2014 A Presentation On
  2. 2. 1. • INTRODUCTION 2. • THE UDA STANDARD 3. • THE ADO OBJECT MODEL 4. • ESTABLISHING CONNECTION (Binding) 5. • ESTABLISHING CONNECTION (Reference) 6. • CONCLUSION
  3. 3. Data access technology is constantly evolving, and each of these three interfaces represents a different stage of development for Data Access Technology : • ActiveX Data Objects (ADO) • Remote Data Objects (RDO) • Data Access Objects (DAO) The latest is ADO. Its features are simpler — yet more flexible — object model than either RDO or DAO. For new projects, you should use ADO as your data access interface.
  4. 4. Local Database Remote Database
  5. 5. 1. • INTRODUCTION 2. • THE UDA STANDARD 3. • THE ADO OBJECT MODEL 4. • ESTABLISHING CONNECTION (Binding) 5. • ESTABLISHING CONNECTION (Reference) 6. • CONCLUSION
  6. 6. Application ADO OLEDB •OLEDB Provider •OLEDB Provider •OLEDB Provider •OLEDB Provider •OLEDB Provider ODBC - - - ODBC Data AccessSQL Server Oracle Excel
  7. 7. 1. • INTRODUCTION 2. • THE UDA STANDARD 3. • THE ADO OBJECT MODEL 4. • ESTABLISHING CONNECTION (Binding) 5. • ESTABLISHING CONNECTION (Reference) 6. • CONCLUSION
  8. 8. Connection Object Command Object Record Set Object Error Object •Properties Collection •Parameters Collection •Fields Collection
  9. 9. 1. • INTRODUCTION 2. • THE UDA STANDARD 3. • THE ADO OBJECT MODEL 4. • ESTABLISHING CONNECTION (Binding) 5. • ESTABLISHING CONNECTION (Reference) 6. • CONCLUSION
  10. 10. 1. • INTRODUCTION 2. • THE UDA STANDARD 3. • THE ADO OBJECT MODEL 4. • ESTABLISHING CONNECTION (Binding) 5. • ESTABLISHING CONNECTION (Reference) 6. • CONCLUSION
  11. 11. Connection Object Recordset Object Command Object
  12. 12. Property Methods ConnectionString Close Provider Open ConnectionTimeout CommandTimeout CursorLocation Mode
  13. 13. Property Methods CommandText Execute CommandType
  14. 14. Property Methods CursorLocation AddNew CursorType Close and Open EOF and BOF MoveNext Fields MoveFirst RecordCount MoveLast MovePrevious
  15. 15. Database: Emp.mdb Table: Emp
  16. 16. 1. • INTRODUCTION 2. • THE UDA STANDARD 3. • THE ADO OBJECT MODEL 4. • ESTABLISHING CONNECTION (Binding) 5. • ESTABLISHING CONNECTION (Reference) 6. • CONCLUSION

×