摘要: c# using System.Diagnostics; Stopwatch stopwatch = Stopwatch.StartNew(); //业务 long milliseconds = stopwatch.ElapsedMilliseconds; js // 创建两个日期对象 var st 阅读全文
posted @ 2024-05-22 10:08 limitpjz 阅读(20) 评论(0) 推荐(0) 编辑
摘要: private void btnEdit_Click(object sender, EventArgs e) { ViewOrignalImage(pictureBox1.Image); } /// 查看原图 /// </summary> /// <param name="image"></para 阅读全文
posted @ 2021-10-20 16:49 limitpjz 阅读(664) 评论(0) 推荐(0) 编辑
摘要: select * from aaaselect * from bbb DECLARE @bb varchar(50) DECLARE @id int DECLARE My_Cursor CURSOR --定义游标FOR (SELECT id,bb FROM aaa) --查出需要的集合放到游标中OP 阅读全文
posted @ 2021-10-10 16:47 limitpjz 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 步骤1: 步骤2: ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyPass@123' PASSWORD EXPIRE NEVER;ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_pa 阅读全文
posted @ 2021-10-10 16:46 limitpjz 阅读(28) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Net;using System.Net.Sockets;using System.Text; namespace ConsoleApplication1{ class Program { static void Main(string[] arg 阅读全文
posted @ 2021-10-10 16:43 limitpjz 阅读(82) 评论(0) 推荐(0) 编辑
摘要: <!doctype html><html><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="initial-scale= 阅读全文
posted @ 2021-10-10 16:40 limitpjz 阅读(14) 评论(0) 推荐(0) 编辑
摘要: Merge into @TableName AS T Using #TmpTable AS S ON (T.Type = S.Type) WHEN MATCHED THEN UPDATE SET T.[TypeDesc]=S.[TypeDesc] WHEN NOT MATCHED THEN INSE 阅读全文
posted @ 2021-10-10 16:35 limitpjz 阅读(255) 评论(0) 推荐(0) 编辑
摘要: Sql 字符串按指定字符转多行(表值函数) 方法一 select * from SplitToTable('12+3+4545+2322','+')select * from SplitToTable('12,3,4545,2322',',') ALTER FUNCTION [dbo].[Split 阅读全文
posted @ 2020-02-26 09:19 limitpjz 阅读(452) 评论(0) 推荐(0) 编辑
摘要: private void frmBarCode_Load(object sender, EventArgs e) { bindCbox(); } #region 选择打印机 [DllImport("winspool.drv")] public static extern bool SetDefaul 阅读全文
posted @ 2019-07-23 16:24 limitpjz 阅读(954) 评论(0) 推荐(0) 编辑
摘要: select tr.name as [触发器],ta.name as [表名],tr.is_disabled as [是否禁用], tr.is_instead_of_trigger AS [触发器类型], case when tr.is_instead_of_trigger = 1 then 'IN 阅读全文
posted @ 2019-05-22 16:01 limitpjz 阅读(1732) 评论(0) 推荐(0) 编辑