会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Bill-Lee
博客园
首页
新随笔
联系
管理
订阅
2022年2月22日
httpClient忽略SSL验证
摘要: 请求被中止: 未能创建 SSL/TLS 安全通道 在发送请求前加: ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;System.Net.ServicePointManager.SecurityProtocol = S
阅读全文
posted @ 2022-02-22 16:42 Bill-Lee
阅读(828)
评论(0)
推荐(0)
2021年5月13日
C# Excel单元格设置
摘要: 1.设置单元格字体格式:IFont IFont ifont = hssfworkbook.CreateFont(); ifont1.Boldweight=(short)FontBoldWeight.Bold;//加粗 字体:ifont .fontname 字体颜色:ifont.color 字号:if
阅读全文
posted @ 2021-05-13 10:21 Bill-Lee
阅读(1060)
评论(0)
推荐(0)
2021年4月27日
jsp连接mysql
摘要: <%@ page contentType="text/html" pageEncoding="utf-8"%><%@ page import="java.sql.*"%><html><head><title>利用JSP连接数据库并输出表中数据</title></head><body> <%!//定义
阅读全文
posted @ 2021-04-27 14:40 Bill-Lee
阅读(206)
评论(0)
推荐(0)
2021年4月25日
java获取飞书用户
摘要: // 发送请求HTTP-POST请求 url:请求地址; entity:json格式请求参数 public static String userPost(String url, String entity,String Token) { try { CloseableHttpClient httpC
阅读全文
posted @ 2021-04-25 19:57 Bill-Lee
阅读(970)
评论(1)
推荐(0)
2021年1月6日
cxGrid在编辑录入的时候,如何实现按方向左右键跳到前一个单元格或后一个单元格?
摘要: 只要将TableView的OptionsBehavior的AlwaysShowEditor设为True就可以了。
阅读全文
posted @ 2021-01-06 11:09 Bill-Lee
阅读(142)
评论(0)
推荐(0)
2020年12月23日
cxGrid设置列为按钮并设置按钮事件
摘要: 因为业务需要展示,在每行的数据最后一列显示一个按钮,点击按钮删除对应的数据。使用cxGrid能完美实现。 1、设置按钮列的properties是buttonedit 2、设置properties下的属性 viewStyle=vsButtonsAutoWidth 3、设置Options中的 ShowE
阅读全文
posted @ 2020-12-23 18:30 Bill-Lee
阅读(813)
评论(0)
推荐(0)
2020年11月9日
MySQL安装步骤
摘要: 1> 双击mysql-5.1.72-winx64.msi 2> 接受协议,next 3> 选择“Custom”,next 4> 点击“Change…” 5> 修改MySQL安装路径,点“OK” 6> next 7> 点“Install” 8> next 9> next 10> 保持选中“Config
阅读全文
posted @ 2020-11-09 19:28 Bill-Lee
阅读(366)
评论(0)
推荐(0)
Host is not allowed to connect to this MySQL server解决方法
摘要: 在装有MySQL的机器上登录MySQL mysql -u root -p密码执行use mysql;执行update user set host = '%' where user = 'root';这一句执行完可能会报错,不用管它。执行FLUSH PRIVILEGES;
阅读全文
posted @ 2020-11-09 19:26 Bill-Lee
阅读(109)
评论(0)
推荐(0)
2020年8月3日
SQL查看死锁
摘要: 查看sql死锁 CREATE procedure sp_who_lock as begin declare @spid int declare @blk int declare @count int declare @index int declare @lock tinyint set @lock
阅读全文
posted @ 2020-08-03 17:29 Bill-Lee
阅读(834)
评论(0)
推荐(0)
2020年7月23日
cxGrid为某列内嵌下拉框
摘要: 操作步骤如下: 1、使用TcxEditRepository控件, 增加一个combobox(如名称为cxCB), 做好设置; 2、绑定列cxgdbtvB22.Columns[i].RepositoryItem:=cxCB; 效果如下图:
阅读全文
posted @ 2020-07-23 14:04 Bill-Lee
阅读(560)
评论(0)
推荐(0)
下一页
公告