06 2022 档案

摘要:声明用户名git config --global user.name "name"声明邮箱git config --global user.email "email"生成本地的sshssh-keygen -t rsa -C "邮箱" 阅读全文
posted @ 2022-06-16 15:32 问渠哪得清如许-修 阅读(95) 评论(0) 推荐(0) 编辑
摘要://添加开机自启动,采用注册表的方式实现 // 添加到 所有用户的 注册表启动项 RegistryKey RKey = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run"); RKey 阅读全文
posted @ 2022-06-16 15:29 问渠哪得清如许-修 阅读(123) 评论(0) 推荐(0) 编辑
摘要:先检查一下现在起始数DBCC checkident([table_name], NORESEED) 重置自增起始值DBCC checkident([table_name], RESEED, [当前最后一个数]) 阅读全文
posted @ 2022-06-16 15:20 问渠哪得清如许-修 阅读(363) 评论(0) 推荐(1) 编辑
摘要:/// <summary> /// md5加密 /// </summary> /// <param name="str"></param> /// <returns></returns> public static string GenerateMD5(String str) { MD5 md5 = 阅读全文
posted @ 2022-06-16 15:18 问渠哪得清如许-修 阅读(37) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Net;using System.Text; namespace WindowsFormsApp9{ public 阅读全文
posted @ 2022-06-16 15:17 问渠哪得清如许-修 阅读(65) 评论(0) 推荐(0) 编辑
摘要:public class FTPHelper { string ftpServerIPout; string ftpServerIPin; string ftpUserIDout; string ftpUserIDin; string ftpPasswordout; string ftpPasswo 阅读全文
posted @ 2022-06-16 15:16 问渠哪得清如许-修 阅读(43) 评论(0) 推荐(0) 编辑
摘要:在 工具-NuGet包管理器-程序包管理控制台 输入 Install-Package Microsoft.EntityFrameworkCore.Tools //安装管理工具 PM> Scaffold-DbContext "Data Source=F:\XQX\个人项目\C#学习\SQLiteStu 阅读全文
posted @ 2022-06-16 15:14 问渠哪得清如许-修 阅读(213) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; /// <summary>/// DLL帮助类/// </summary>n 阅读全文
posted @ 2022-06-16 15:12 问渠哪得清如许-修 阅读(34) 评论(0) 推荐(0) 编辑
摘要:创建并向表中插入数据(*代码插入旧表所有字段到新表) select 旧表字段1,旧表字段2 into 新表 from 旧表 where 判断条件 向已存在表中插入数据 insert into 新表(新表字段1,新表字段2) select 旧表字段1,旧表字段2 from 旧表 where 判断条件 阅读全文
posted @ 2022-06-16 15:10 问渠哪得清如许-修 阅读(900) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示