相关文章  
  • Visual Studio 2005中C++的变化
  • 使用Reporting Services窗体身份验证
  • 动态下拉菜单的简单实现
  • 如何实现日期比较 显示五天内日期
  • 构建一个弹出式图象按钮
  • 小心GDI+资源泄漏 -- 猜想 测试 应对全过程
  • 浅谈 C# 中的代码协同 (Coroutine) 执行支持
  • 在 C# 中处理结构内的数组源代码分析
  • 谈 WinDbg 之 InternalCall 的使用与实现
  • 谈 WinDbg 之 AppDomain 的创建过程
  •   推荐  
      科普之友首页   专利     科普      动物      植物        天文   考古   前沿科技
     您现在的位置在:  首页 >>文献 >>培训

    C#与Excel的交互功能代码实例1


      //这里加添加一个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