摘要: 请求被中止: 未能创建 SSL/TLS 安全通道 在发送请求前加: ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;System.Net.ServicePointManager.SecurityProtocol = S 阅读全文
posted @ 2022-02-22 16:42 Bill-Lee 阅读(700) 评论(0) 推荐(0) 编辑
摘要: 1.设置单元格字体格式:IFont IFont ifont = hssfworkbook.CreateFont(); ifont1.Boldweight=(short)FontBoldWeight.Bold;//加粗 字体:ifont .fontname 字体颜色:ifont.color 字号:if 阅读全文
posted @ 2021-05-13 10:21 Bill-Lee 阅读(822) 评论(0) 推荐(0) 编辑
摘要: <%@ 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 阅读(179) 评论(0) 推荐(0) 编辑
摘要: // 发送请求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 阅读(876) 评论(1) 推荐(0) 编辑
摘要: 只要将TableView的OptionsBehavior的AlwaysShowEditor设为True就可以了。 阅读全文
posted @ 2021-01-06 11:09 Bill-Lee 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 因为业务需要展示,在每行的数据最后一列显示一个按钮,点击按钮删除对应的数据。使用cxGrid能完美实现。 1、设置按钮列的properties是buttonedit 2、设置properties下的属性 viewStyle=vsButtonsAutoWidth 3、设置Options中的 ShowE 阅读全文
posted @ 2020-12-23 18:30 Bill-Lee 阅读(572) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 在装有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 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 查看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 阅读(816) 评论(0) 推荐(0) 编辑
摘要: 操作步骤如下: 1、使用TcxEditRepository控件, 增加一个combobox(如名称为cxCB), 做好设置; 2、绑定列cxgdbtvB22.Columns[i].RepositoryItem:=cxCB; 效果如下图: 阅读全文
posted @ 2020-07-23 14:04 Bill-Lee 阅读(474) 评论(0) 推荐(0) 编辑