摘要: option = { xAxis: { type: 'category', boundaryGap: false, data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }, yAxis: { type: 'value' }, series: 阅读全文
posted @ 2024-06-13 16:30 暖暖De幸福 阅读(1) 评论(0) 推荐(0) 编辑
摘要: if serverproperty('servername') <> @@servername begin declare @server sysname set @server = @@servername exec sp_dropserver @server = @server set @ser 阅读全文
posted @ 2024-06-13 16:29 暖暖De幸福 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 拉取镜像 docker pull mcr.microsoft.com/mssql/server:2019-latest 运行容器 docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=zhang@1993" -e "MSSQL_COLLATION=C 阅读全文
posted @ 2024-06-12 11:19 暖暖De幸福 阅读(2) 评论(0) 推荐(0) 编辑
摘要: public QueryResult SqlBulkCopy(DataTable dt, string tableName) { try { connection.Open(); using (var copy = new SqlBulkCopy(connection)) { copy.Destin 阅读全文
posted @ 2024-06-04 16:37 暖暖De幸福 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 添加配置文件 设置属性:复制到输出目录,如果较新则复制 <?xml version="1.0" encoding="utf-8" ?> <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w 阅读全文
posted @ 2024-06-04 16:34 暖暖De幸福 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 新建资源文件夹 添加 ASP.NET 文件夹 选择 App_GlobalResources 新建资源文件 language.resx language.en.resx 创建了中文、英文两个语言的资源文件,中文是程序的默认语言。 然后是 language.en.resx,中间的“en”是英语的 Cul 阅读全文
posted @ 2024-05-29 11:34 暖暖De幸福 阅读(3) 评论(0) 推荐(0) 编辑
摘要: CodeGeeX ClaudiaIDE 阅读全文
posted @ 2024-05-29 09:07 暖暖De幸福 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 引用 ExcelJS let masterGrid = $("#gridContainer").dxDataGrid("instance"); // Get the selected master rows let selectedMasterRows = masterGrid.getSelecte 阅读全文
posted @ 2024-05-24 15:37 暖暖De幸福 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 安装包 Microsoft.CodeDom.Providers.DotNetCompilerPlatform 如果已有包,则卸载重装 阅读全文
posted @ 2024-05-24 14:07 暖暖De幸福 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 打开新窗口 在控件上添加 lay-href 属性,并传递参数:url地址 tit标题 <a lay-text="新窗口" onclick="newTab('xxx.html,'打开新窗口')" > 打开新窗口方法: function newTab(url, title) { if (top.layu 阅读全文
posted @ 2024-04-19 16:52 暖暖De幸福 阅读(112) 评论(0) 推荐(0) 编辑