If you are learning. NET for the first time, you might try to learn how to use COM components, in order to make you less detours, I write down the problems I have encountered, and share with you. At the same time also hope to communicate with you, and improve together. Contact Method:
Tel: 0571-88021712 Transfer Technology Research and Development Department, Mr. LV, qq:120589204,e_mail:lbl682@163.com
Let me give you two examples:
(i), referring to Oracle, that is, using System.Data.OracleClient;
. Click the "website" menu-> "Add Reference ..."-> click on the ". NET" tab--> Select "System.Data.OracleClient"--> "OK".
(ii), reference OWC (Microsoft Office WEB Component).
1. The Owc,office 2003 in the installation office is Owc11,office XP with the OWC10
2. Click "Tools"--> "Select Toolbox items ..."--> Select the COM Components tab--> Select Microsoft Office Chart 11.0 "-->" "OK"
3. Copy the DLL files from the installation OWC folder to the "bin" directory of the current project. (The directory in which the DLL is located is generally "C:/Program Files/common files/microsoft shared/office11")