Data Connection using ADO DC

343 views
287 views

Published on

ADO DC
ActiveX Data Objects

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
343
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
91
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

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

×