摘要: 1、说明:创建数据库 CREATE DATABASE database-name 2、说明:删除数据库 drop database dbname 3、说明:备份sql server 创建 备份数据的 device USE master EXEC sp_addumpdevice 'disk', 'te 阅读全文
posted @ 2021-09-22 13:28 ZuoTian 阅读(8) 评论(0) 推荐(0)
摘要: 基础 提升 技巧 数据开发经典 SQL基本函数 常识 阅读全文
posted @ 2021-09-22 13:25 ZuoTian 阅读(22) 评论(0) 推荐(0)
摘要: public class VerificationCode { //产生验证码的字符集 private static string[] ValidateCharArray = new string[] { "2", "3", "4", "5", "6", "8", "9", "A", "B", "C 阅读全文
posted @ 2021-09-22 13:11 ZuoTian 阅读(485) 评论(0) 推荐(1)
摘要: 3步骤: 1.在需要自适应的Form中实例化全局变量 AutoSizeFormClass.cs源码在下方 AutoSizeFormClass asc = new AutoSizeFormClass(); 2.Form_Load事件中 asc.controllInitializeSize(this); 阅读全文
posted @ 2021-09-22 13:08 ZuoTian 阅读(172) 评论(0) 推荐(0)
摘要: /* SerialNum 序号 FindTable 临时表 */ SELECT * FROM (SELECT ROW_NUMBER() OVER (PARTITION BY 字段1+字段2 ORDER BY 字段1+字段2) SerialNum, 主键,字段1,字段2,.... FROM 去重表名称 阅读全文
posted @ 2021-09-22 13:06 ZuoTian 阅读(73) 评论(0) 推荐(0)
摘要: using System; using System.Configuration; using System.Data; using System.Data.OracleClient; using System.Collections; using System.Collections.Generi 阅读全文
posted @ 2021-09-22 13:04 ZuoTian 阅读(163) 评论(0) 推荐(0)
摘要: //冒泡排序 function bubbleSort(myArray) { if (myArray.length == 0) return [] for (var i = 0; i < myArray.length; i++) { for (var j = i + 1; j < myArray.le 阅读全文
posted @ 2021-09-22 12:55 ZuoTian 阅读(43) 评论(0) 推荐(0)
摘要: appwiz.cpl 卸载程序 calc 启动计算器 certmgr.msc 证书管理实用程序 charmap 启动字符映射表 chkdsk.exe Chkdsk磁盘检查 ciadv.msc 索引服务程序 cleanmgr 垃圾整理 cliconfg SQL SERVER 客户端网络实用程序 Cli 阅读全文
posted @ 2021-09-22 12:52 ZuoTian 阅读(42) 评论(0) 推荐(0)
摘要: using System; using System.Text; using System.Net.Sockets; using System.Net.Mail; using System.Net; namespace CloveoNetHelper { /// <summary> /// 网络操作 阅读全文
posted @ 2021-09-22 12:51 ZuoTian 阅读(59) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace HelloCsharp { class Program { static 阅读全文
posted @ 2021-09-22 12:50 ZuoTian 阅读(311) 评论(0) 推荐(0)
摘要: private void Form1_Load(object sender, EventArgs e) { bool Exist;//定义一个bool变量,用来表示是否已经运行 //创建Mutex互斥对象 System.Threading.Mutex newMutex = new System.Th 阅读全文
posted @ 2021-09-22 12:48 ZuoTian 阅读(130) 评论(0) 推荐(0)
摘要: 第一种:(调用系统API) 首先引入两个命名空间 using System.Runtime.InteropServices;using System.Reflection; 然后导入API [DllImport("user32.dll")]public static extern IntPtr Lo 阅读全文
posted @ 2021-09-22 12:47 ZuoTian 阅读(205) 评论(0) 推荐(0)
摘要: //根据实际需要使用 using System; using System.Collections.Generic; using System.Text; using System.Data.OleDb; using System.Data; using System.Collections; us 阅读全文
posted @ 2021-09-22 12:28 ZuoTian 阅读(311) 评论(0) 推荐(0)