摘要:
1.Ado.Net 2.EF CodeFirst 3.SqlSugar 4.dapper 5.NPoco,參考:http://www.rzrgm.cn/timefiles/p/18294967
閱讀全文
posted @ 2024-07-23 09:01
microsoft-zhcn
閱讀(24)
推薦(0)
摘要:
開發思路:WPF應用程序(EXE) 調用 控制臺(EXE) 1、WPF 文件管理助手1.1、文件比較1.2、文件差異1.3、文件上傳下載2、WPF 數據庫同步助手2.1、數據表對比2.2、數據同步 2.3、導入導出3、WPF 屏幕錄制3.1、屏幕錄屏3.2、區域錄屏3.2、應用錄屏3.3、錄制GIF
閱讀全文
posted @ 2024-04-12 10:15
microsoft-zhcn
閱讀(105)
推薦(0)
摘要:
框架設計 項目 描述 說明 Micro.Web 應用層 Html、WebApi Micro.Common/Utilities 公共層 存放常用類庫 、加密解密單元等 Micro.Models 實體層 Entity、Dto、ViewModel Micro.Core 公共集 服務端(數據庫、緩存相關類)
閱讀全文
posted @ 2024-01-04 09:42
microsoft-zhcn
閱讀(72)
推薦(0)
摘要:
創建 Asp.Net Core Web應用 創建控制器文件夾(Controllers),Program.cs 配置控制器路由 app.MapControllerRoute( name: "default", pattern: "{controller=Home}/{action=Index}/{id
閱讀全文
posted @ 2023-12-10 02:31
microsoft-zhcn
閱讀(47)
推薦(0)
摘要:
github下載地址 document.querySelector("#barCode").addEventListener('change', function (evt) { const file = evt.target.files[0]; const fileURL = URL.create
閱讀全文
posted @ 2025-10-28 11:49
microsoft-zhcn
閱讀(1)
推薦(0)
摘要:
下載SQLite工具,點檢下載 第一步:安裝SqlSugarCore 第二步:初始化SqlSugarCore public class DBUtil { public static SqlSugarScope Db = new SqlSugarScope(new ConnectionConfig()
閱讀全文
posted @ 2025-10-10 16:59
microsoft-zhcn
閱讀(42)
推薦(0)
摘要:
題目表 USE [BW_OA] GO /****** Object: Table [dbo].[exam_question] Script Date: 2025/10/3 16:52:08 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON G
閱讀全文
posted @ 2025-10-03 16:37
microsoft-zhcn
閱讀(5)
推薦(0)
摘要:
參考:http://www.rzrgm.cn/wjygxjz/p/17772666.html /// <summary> /// 線程安全隊列 /// 如果多個線程同時操作一個隊列推薦使用安全隊列,因為有可能引起添加隊列前數據都是正常的,當出隊時數據是null的情況。 /// </summa
閱讀全文
posted @ 2025-08-23 18:01
microsoft-zhcn
閱讀(7)
推薦(0)
摘要:
使用VirtualizingPanel控件: <ListView> <ListView.ItemsPanel> <ItemsPanelTemplate> <VirtualizingStackPanel/> </ItemsPanelTemplate> </ListView.ItemsPanel> </
閱讀全文
posted @ 2025-08-23 11:27
microsoft-zhcn
閱讀(26)
推薦(0)
摘要:
參考:http://news.sohu.com/a/816349214_99956868
閱讀全文
posted @ 2025-08-11 16:20
microsoft-zhcn
閱讀(7)
推薦(0)
摘要:
參考:http://www.rzrgm.cn/tedi/archive/2012/07/16/2593753.html
閱讀全文
posted @ 2025-08-05 20:34
microsoft-zhcn
閱讀(20)
推薦(0)
摘要:
橫向連接追加合并分組匯總數據篩選字段設置行轉列去重
閱讀全文
posted @ 2025-08-04 18:05
microsoft-zhcn
閱讀(5)
推薦(0)
摘要:
參考: https://e673.com/sqlsuga-no-entity-update-delete-insert-query-muti-db/
閱讀全文
posted @ 2025-07-28 14:16
microsoft-zhcn
閱讀(47)
推薦(0)
摘要:
ERP(企業資源管理)、PMIS(項目管理)、CRM(客戶管理)、OAS(協同辦公管理) PLM(產品管理)、EMS(設備管理)、QMS(質量管理)、WMS(倉庫管理)
閱讀全文
posted @ 2025-07-28 10:52
microsoft-zhcn
閱讀(6)
推薦(0)
摘要:
參考:http://www.rzrgm.cn/leon1128/p/18280611 //DI框架Autofac public void ConfigureContainer(ContainerBuilder builder) { string basePath = AppContext.B
閱讀全文
posted @ 2025-07-26 17:31
microsoft-zhcn
閱讀(6)
推薦(0)
摘要:
參考:https://blog.csdn.net/chen_yunan/article/details/132450464 文件下載地址:https://www.h3c.com/cn/d_202504/2393197_30005_0.htm
閱讀全文
posted @ 2025-07-24 20:50
microsoft-zhcn
閱讀(71)
推薦(0)
摘要:
C# 實例格式 /// <summary> /// T1 /// </summary> public class T1 { /// <summary> /// 主鍵 /// </summary> public int ID { get; set; } /// <summary> /// 姓名 ///
閱讀全文
posted @ 2025-07-14 21:34
microsoft-zhcn
閱讀(58)
推薦(1)
摘要:
實例代碼: SELECT DB_NAME(database_id) AS DatabaseName, SUM(size) * 8 / 1024 AS TotalSizeMB FROM sys.master_files WHERE type = 0 AND DB_NAME(database_id)='
閱讀全文
posted @ 2025-07-14 21:18
microsoft-zhcn
閱讀(6)
推薦(0)
摘要:
帶有指定文件位置和大小的示例 你還可以在創建數據庫時指定文件的初始大小、最大大小、自動增長設置以及文件的位置(這對于管理數據庫文件的位置非常有用,尤其是在需要優化磁盤空間或提高性能的情況下)。 以下是一個帶有這些選項的示例: CREATE DATABASE MyDatabase ON ( NAME
閱讀全文
posted @ 2025-07-14 21:13
microsoft-zhcn
閱讀(14)
推薦(0)
摘要:
1.創建表格,添加默認值和自動遞增的主鍵 CREATE TABLE Employees ( EmployeeID INT IDENTITY(1,1) PRIMARY KEY, -- 自動遞增從 1 開始,每次增加 1 FirstName VARCHAR(50) NOT NULL, LastName
閱讀全文
posted @ 2025-07-14 15:41
microsoft-zhcn
閱讀(12)
推薦(0)
摘要:
SQL Server代碼如下: SELECT s.name AS SchemaName, t.name AS TableName, c.name AS ColumnName, ISNULL(ep.value, 'No Description') AS ColumnDescription, ISNUL
閱讀全文
posted @ 2025-07-14 15:28
microsoft-zhcn
閱讀(106)
推薦(0)
摘要:
App.Config文件是系統默認的應用程序配置文件 <?xml version="1.0" encoding="utf-8" ?> <configuration> </configuration> 獲取 configSections 節點 string sqlServer= System.Conf
閱讀全文
posted @ 2025-07-10 16:35
microsoft-zhcn
閱讀(47)
推薦(0)
摘要:
第一步:打開記事本編輯如下,然后另存為 xxx.reg Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\escort] "URL Protocol"="" @="URL:escort" [HKEY_CLASSES_ROOT\escort
閱讀全文
posted @ 2025-07-07 09:49
microsoft-zhcn
閱讀(142)
推薦(0)
posted @ 2025-06-03 20:39
microsoft-zhcn
閱讀(8)
推薦(0)
摘要:
WPF介紹 http://www.rzrgm.cn/pengboke/p/18117047 Prism http://www.rzrgm.cn/pengboke/p/18117052
閱讀全文
posted @ 2025-05-08 21:51
microsoft-zhcn
閱讀(11)
推薦(0)
摘要:
需添加closeBtn :0即可 示例代碼如下: layer.open({ content: '/Index5S', area: ['900px', '450px'], title: '2025年戰略目標', type: 2, closeBtn: 0, success: function(layer
閱讀全文
posted @ 2025-05-05 13:36
microsoft-zhcn
閱讀(58)
推薦(0)
摘要:
參考:https://blog.csdn.net/lht631935612/article/details/138669694
閱讀全文
posted @ 2025-04-24 16:07
microsoft-zhcn
閱讀(8)
推薦(0)
摘要:
參考:https://blog.csdn.net/pandawangyt/article/details/110676723
閱讀全文
posted @ 2025-02-12 14:18
microsoft-zhcn
閱讀(24)
推薦(0)
摘要:
wpf Path360度刷新旋轉在WPF(Windows Presentation Foundation)中,如果你想讓一個元素(如一個UIElement)在360度范圍內進行刷新或旋轉,你可以使用RotateTransform。下面是如何實現這一功能的步驟:1. 添加RotateTransform
閱讀全文
posted @ 2025-02-11 16:27
microsoft-zhcn
閱讀(101)
推薦(1)
摘要:
幾何圖形(Geometry)為形狀定義了坐標和尺寸,但不能直接繪制到窗口和控件上。 參考: https://cloud.tencent.com/developer/article/2385493
閱讀全文
posted @ 2025-02-09 16:36
microsoft-zhcn
閱讀(15)
推薦(0)
摘要:
參考: http://www.rzrgm.cn/myshowtime/p/14512563.html http://www.rzrgm.cn/guangzhiruijie/p/16996847.html
閱讀全文
posted @ 2025-02-07 11:23
microsoft-zhcn
閱讀(26)
推薦(0)
摘要:
一、HTTP1.0 HTTP 1.0 瀏覽器與服務器默認為短連接,每次請求都需要與服務器建立一個TCP連接 服務器完成請求處理后立即斷開TCP連接,然后依次建立新的TCP連接,服務器不跟蹤每個客戶也不記錄過去的請求。 例如,解析html文件,當發現文件中存在資源文件的時候,這時候又創建單獨的鏈接 最
閱讀全文
posted @ 2025-02-07 09:54
microsoft-zhcn
閱讀(282)
推薦(0)
摘要:
http://www.rzrgm.cn/iwteih/archive/2010/11/25/1887740.html
閱讀全文
posted @ 2025-02-06 17:10
microsoft-zhcn
閱讀(17)
推薦(0)
摘要:
參考:http://www.rzrgm.cn/ShengM/p/4118207.html
閱讀全文
posted @ 2025-02-06 10:58
microsoft-zhcn
閱讀(11)
推薦(0)
摘要:
第一步:安裝JAVA 參考:http://www.rzrgm.cn/chai2020/p/18388560 rocketmq window安裝部署 步驟 1: 下載RocketMQ 訪問 Apache RocketMQ官網 或 Apache鏡像站。 下載適合Windows的RocketMQ版
閱讀全文
posted @ 2025-02-06 09:13
microsoft-zhcn
閱讀(394)
推薦(0)
摘要:
參考: http://www.rzrgm.cn/ray334723779/p/15762020.html http://www.rzrgm.cn/JohnnyLei/p/17791069.html
閱讀全文
posted @ 2025-01-15 22:55
microsoft-zhcn
閱讀(34)
推薦(0)
摘要:
1、開啟SMTP服務,相當于授權過程(開啟后,才可以通過這個模擬發送) 位置: 設置--> 賬號--> 賬號安全--> POP3/SMTP服務 -->開啟 2、編寫發送郵箱郵件API(引用:System.Net,System.Net.Mail) [Route("api/[controller]")]
閱讀全文
posted @ 2024-12-21 22:10
microsoft-zhcn
閱讀(289)
推薦(0)
摘要:
自定義defaultToolbar // 渲染表格 table.render({ elem: '#demo' ,defaultToolbar: ['filter', 'print', 'exports', { // 自定義工具欄 title: '標題' // 自定義標題 ,layEvent: 'cu
閱讀全文
posted @ 2024-12-19 17:29
microsoft-zhcn
閱讀(329)
推薦(0)
摘要:
選擇日期范圍: <div class="layui-inline"> <label class="layui-form-label">選擇日期段:</label> <div class="layui-input-inline"> <input type="text" class="layui-inp
閱讀全文
posted @ 2024-12-12 01:04
microsoft-zhcn
閱讀(76)
推薦(0)
摘要:
table.on('row(myTable)', function(obj){ // 在這里處理行點擊事件,obj是事件相關信息 // 例如,打印行的數據: console.log(obj.data); // 執行其他操作... // 注意:如果需要防止行點擊后默認的藍色背景效果,可以使用obj.t
閱讀全文
posted @ 2024-12-04 16:41
microsoft-zhcn
閱讀(126)
推薦(0)
摘要:
// 假設你的table元素的id為"myTable"var tableId = "myTable"; // 使用Layui的table模塊的checkStatus方法來獲取勾選的數據var checkStatus = table.checkStatus(tableId); // 獲取勾選的行數據v
閱讀全文
posted @ 2024-12-04 11:00
microsoft-zhcn
閱讀(562)
推薦(1)
摘要:
1.控件添加 lay-search lay-filter="selectSearch",如: <select name="city" lay-search lay-filter="selectSearch"></select> 2.監聽下拉框選擇 form.on('select(selectSear
閱讀全文
posted @ 2024-12-04 09:46
microsoft-zhcn
閱讀(265)
推薦(0)
摘要:
//1.引入 util layui.use(['table', 'admin'], function () { var util = layui.util; //2.表格內容格式化 { field: 'staTime', title: '開始時間', width: 120, align: 'cent
閱讀全文
posted @ 2024-11-04 00:42
microsoft-zhcn
閱讀(226)
推薦(0)
摘要:
方式一:使用@Model 1.在Controller中定義變量: public class MyController : Controller { public string MyModelVariable { get; set; } public IActionResult Index() { M
閱讀全文
posted @ 2024-09-06 16:40
microsoft-zhcn
閱讀(65)
推薦(0)