I need to learn ADO.NET to build applications based on MS Office. I have read a good deal about ADO.NET in the MSDN Library, but everything seems rather messy to me.
What are the basics one must figure out when using ADO.NET? I think a few key words will suffice to let me organize my learning.
There are three key components (assuming ur using SQL server):
SQLConnectionSqlCommandSqlDataReader(if you’re using something else, replace
Sqlwith ‘Something’, likeMySqlConnection,OracleCommand)Everything else is just built on top of that.
Example 1:
Example 2: