上一页 1 2 3 4 5 6 7 8 9 10 ··· 25 下一页
摘要: public static bool ExportToExcelByNPOI(DataGridView dgv, string fileName) { bool b = false; try { IWorkbook workbook = new XSSFWorkbook(); ISheet shee 阅读全文
posted @ 2024-08-30 21:15 techNote 阅读(138) 评论(0) 推荐(0)
摘要: private void Form1_Load(object sender, EventArgs e) { statusStrip1.Items.Insert(1, new ToolStripSeparator());//1是索引,数控件位置从0开始 statusStrip1.Items.Inser 阅读全文
posted @ 2024-08-30 16:48 techNote 阅读(99) 评论(0) 推荐(0)
摘要: select distinct(SF_CLFL) from sf_jlb where SF_CLFL is not null and sf_clfl<>'' and UNICODE(sf_clfl) not BETWEEN 19968 AND 40869; 阅读全文
posted @ 2024-08-28 11:32 techNote 阅读(59) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2024-08-27 21:01 techNote 阅读(27) 评论(0) 推荐(0)
摘要: use ChargeDB;--更新数据update dbo.SF_JLB set SF_YSZJE='150',SF_SSZJE='150' where SF_SSZJE='345' and SF_SFRQ>='2023/8/1' and SF_SFRQ<='2023/8/19 23:59:59'; 阅读全文
posted @ 2024-08-24 09:20 techNote 阅读(23) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2024-08-23 19:39 techNote 阅读(20) 评论(0) 推荐(0)
摘要: 三个步骤: 第一步:声明数据库连接对象: Sqlconnection connection=new Sqlconnection(ConnectionString); 第二步:声明数据库操作对象: 两种途径: 直接以字符串拼接的方式形成sql语句,比如: sqlstr="insert into use 阅读全文
posted @ 2024-08-23 18:44 techNote 阅读(139) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u 阅读全文
posted @ 2024-07-30 19:32 techNote 阅读(308) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 25 下一页