|
|
|
|
|
|
|
|
//这里加添加一个excel对象的包装器。就是添加一个引用 using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; namespace ExcelTest { /// /// Form3 的摘要说明。 /// public class Form3 : System.Windows.Forms.Form { private System.Windows.Forms.Button button1; private System.Windows.Forms.ComboBox comboBox1; /// /// 必需的设计器变量。 /// private System.ComponentModel.Container components = null; // Excel object references. private Excel.Application m_objExcel = null; private Excel.Workbooks m_objBooks = null; private Excel._Workbook m_objBook = null; pri页码:[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] 第1页、共10页 |
|
|
|
|
设为首页 | 加入收藏 | 广告服务 | 友情链接 | 版权申明
Copyriht 2007 - 2008 © 科普之友 All right reserved |