会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
techNote
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
25
下一页
2024年8月31日
C#通过NuGet补充控件包括第三方或微软自己的如下Microsoft.Office.Interop.Excel控件
摘要:
阅读全文
posted @ 2024-08-31 09:03 techNote
阅读(22)
评论(0)
推荐(0)
2024年8月30日
c#用NPOI导出EXCEL
摘要: 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)
c#statusStrip样例
摘要: 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)
2024年8月29日
未能加载文件或程序集“microsoft.office.interop.excel.version=15.0.0,culture=neutral
摘要:
阅读全文
posted @ 2024-08-29 16:02 techNote
阅读(67)
评论(0)
推荐(0)
2024年8月28日
sql server查询或更新的条件中不为汉字的表述
摘要: 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)
2024年8月27日
C#连接SqlServer数据库字符串读取app.config的配置
摘要:
阅读全文
posted @ 2024-08-27 21:01 techNote
阅读(27)
评论(0)
推荐(0)
2024年8月24日
sql server 1
摘要: 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)
2024年8月23日
c#数据库操作参数化
摘要:
阅读全文
posted @ 2024-08-23 19:39 techNote
阅读(20)
评论(0)
推荐(0)
c#数据库参数化代替拼接字符串成的SQL语句
摘要: 三个步骤: 第一步:声明数据库连接对象: Sqlconnection connection=new Sqlconnection(ConnectionString); 第二步:声明数据库操作对象: 两种途径: 直接以字符串拼接的方式形成sql语句,比如: sqlstr="insert into use
阅读全文
posted @ 2024-08-23 18:44 techNote
阅读(139)
评论(0)
推荐(0)
2024年7月30日
C#播放MP3/FLAC
摘要: 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
下一页
公告