会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Elcser
博客园
首页
新随笔
联系
订阅
管理
2024年3月11日
DatagridView内容换行适应列宽
摘要: 自动换行 dataGridView1.DefaultCellStyle.WrapMode = DataGridViewTriState.True; 因为内容高度造成内容看不全的情况,可以设置: dataGridView1.AutoResizeColumns(); dataGridView1.Auto
阅读全文
posted @ 2024-03-11 23:16 Elcser
阅读(53)
评论(0)
推荐(0)
2022年6月24日
Oracle 两表关联更新
摘要: UPDATE DEMO_T1 t1 SET (字段一,字段二,...) = (select 字段一,字段二,... from DEMO_T2 T2 where T2.FNAME = T1.FNAME) WHERE EXISTS(SELECT 1 FROM DEMO_T2 T2 WHERE T2.FN
阅读全文
posted @ 2022-06-24 12:33 Elcser
阅读(174)
评论(0)
推荐(1)
2021年12月9日
C# 获取程序集名称和版本号
摘要: Text = Assembly.GetExecutingAssembly().GetName().Name + "【V" + Application.ProductVersion.ToString() + "】";
阅读全文
posted @ 2021-12-09 19:19 Elcser
阅读(1586)
评论(0)
推荐(0)
2021年10月22日
C# 处理 Web 请求时用于编码和解码 URL 的方法
摘要: HttpUtility 类包含用于 HTML 编码字符串的编码和解码实用工具方法。 string res = WebUtility.HtmlDecode(string); string res = WebUtility.HtmlEncode(string);
阅读全文
posted @ 2021-10-22 11:25 Elcser
阅读(163)
评论(0)
推荐(0)
2021年7月1日
WebService 出现因 URL 意外地以“/HelloWorld”结束,请求格式无法识别
摘要: 要在webservice的web.config文件中的 <system.web> 节点下加入: < webServices > < protocols > < add name = " HttpPost " /> < add name = " HttpGet " /> </ protocols >
阅读全文
posted @ 2021-07-01 21:18 Elcser
阅读(52)
评论(0)
推荐(0)
2021年6月22日
Oracle 字符串转表
摘要: Oracle 字符串转表
阅读全文
posted @ 2021-06-22 18:10 Elcser
阅读(881)
评论(0)
推荐(0)
2020年11月27日
Oracle 多行合并成一行
摘要: zltools.f_list2str(cast(collect(成本价) as t_strlist))
阅读全文
posted @ 2020-11-27 17:21 Elcser
阅读(226)
评论(0)
推荐(0)
2020年9月18日
DLL没有强签名 no strong
摘要: 例子,对C盘根目录的RestSharp.dll进行签名,签名后文件为 RestSharp1.dll 第一步:用管理员 打开VS 开发人员命令提示 第二步:创建一个新的随机密钥对:sn -k RestSharp.snk 第三步:将DLL文件解开 ildasm C:\RestSharp.dll /out
阅读全文
posted @ 2020-09-18 23:26 Elcser
阅读(192)
评论(0)
推荐(0)
2020年9月10日
Oracle 字符串转Table
摘要: Select Column_Value As ID From Table(Strsplit('132827,132826'))
阅读全文
posted @ 2020-09-10 19:03 Elcser
阅读(350)
评论(0)
推荐(0)
2020年7月20日
C# DataGridView 合并相同的行
摘要: private void dataGridView1_CellPainting(object sender, DataGridViewCellPaintingEventArgs e) { if (e.RowIndex >= 0 && e.ColumnIndex >= 0 && e.Value.ToS
阅读全文
posted @ 2020-07-20 18:58 Elcser
阅读(504)
评论(0)
推荐(0)
下一页
公告