登录
首页 » c# » C# Excel导出

C# Excel导出

于 2022-02-26 发布 文件大小:2.78 kB
0 154
下载积分: 2 下载次数: 1

代码说明:

        private void ToExcel(string saveFileName, string strSql)         {             if (DateTime.Now.Year == 2014)                 return;             SaveFileDialog saveDialog = new SaveFileDialog();             saveDialog.DefaultExt = "xls";             saveDialog.Filter = "Excel文件|*.xls";             saveDialog.FileName = saveFileName + this.dateTimePicker1.Value.Year.ToString().Trim() + this.dateTimePicker1.Value.Month.ToString().Trim();             if (save

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • ch08
    Visual C++ 6.0程序设计学与用教程的聊天程序(Visual C++ 6.0 programming tutorial learning and use chat program)
    2014-04-05 07:54:20下载
    积分:1
  • ex2
    说明:  用win32提供的同步对象(互斥对象,信号量对象,事件对象),解决兄弟问题(Use the synchronization object provided by win32 (mutual object, semaphore object, event object) to solve the brother problem)
    2020-11-01 20:59:55下载
    积分:1
  • example41_SD_FAT32
    说明:  DSP实现对内存卡写入的测试程序 能够准确的对内存卡进行写入操作 可在此基础上进一步开发内存卡(A Test Program for Memory Card Writing Based on DSP Can accurately write to memory card On this basis, memory card can be further developed.)
    2020-06-17 22:20:01下载
    积分:1
  • GetContour
    说明:  用于物体目标轮廓的提取与跟踪,能更好的识别出物体轮廓。(Target contour for object extraction and tracking, to better identify the contours of objects.)
    2010-04-07 09:46:42下载
    积分:1
  • HFBPM1.0
    C#工作流 企业工作流引擎 源代码(C# Workflow)
    2012-11-23 21:36:05下载
    积分:1
  • xinjie plc
    说明:  信捷 plc xc xd等通用型串口控制.modbus通讯(General serial port control such as Xinjie PLC XC XD. Modbus Communication)
    2020-03-16 20:06:25下载
    积分:1
  • VC-Digital
    一本关于VC和VB数值计算的书,里面有个库,包括了很多的数值计算函数,不用matlab也可以实现数值计算了(A numerical calculation of VC and VB book, which has a library, including a lot of numerical functions can be achieved without matlab numerical calculation of the)
    2011-09-27 21:15:12下载
    积分:1
  • Win32Timer
    基于Visual C++ 的win32控制台的程序,实现使用定时器的功能,(Visual C++ win32 console-based program, using the timer function,)
    2012-03-06 14:20:34下载
    积分:1
  • EDA365_Skill2.4_Setup
    说明:  EDA365的软件分享给大家,拿走不谢!(Eda365 software to share with you, take no thanks!)
    2020-07-02 10:29:12下载
    积分:1
  • linjiequ
    使用类编程实现临界区,VC++网络编程,使用VC6.0编译器实现(Use class programming critical, VC++ network programming, using VC6.0 compiler implements)
    2013-07-14 22:29:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载