摘要: 1.初始化本地信息 ``` 这部很重要 告诉你是谁 $ git config --global user.name "Your Name" $ git config --global user.email "email@example.com" ``` 2.github 添加ssh key ​ 本地 阅读全文
posted @ 2020-07-06 08:33 刀小爱 阅读(119) 评论(0) 推荐(0) 编辑
摘要: C#中实现UrlEncode和UrlDecode 有时需要进行url编码、解码,比如从html中捞数据,有可能>、&等字符会被编码成>等。 WinForm中默认没有引入System.Web,因此要现在项目中引入依赖 System.Web.HttpUtility.HtmlEncode(str); Sy 阅读全文
posted @ 2020-05-31 20:20 刀小爱 阅读(175) 评论(0) 推荐(0) 编辑
摘要: var rs1 = Assembly.LoadFrom("WindowsFormsApp1").GetType("WindowsFormsApp1.Form2"); var rs = Assembly.Load("WindowsFormsApp1").GetType("WindowsFormsApp 阅读全文
posted @ 2020-02-03 08:27 刀小爱 阅读(74) 评论(0) 推荐(0) 编辑
摘要: oracle 的用户管理的常用命令介绍: 1、创建用户:create user 用户名 identified by 密码; SQL> create user scw identified by 123; 2、修改其他用户密码 需要权限; SQL> conn system/123;已连接。 SQL> 阅读全文
posted @ 2019-10-29 10:44 刀小爱 阅读(299) 评论(0) 推荐(0) 编辑
摘要: Declare j Number; Str Nvarchar2(100); Sb Nvarchar2(100); Begin For i In 1 .. 365 Loop Str := To_Char((To_Date('2018-08-31 00:00:00', 'yyyy-mm-dd hh24:mi:ss')) + i, 'yyyy-mm-dd hh24:mi:ss')... 阅读全文
posted @ 2019-06-19 18:27 刀小爱 阅读(184) 评论(0) 推荐(0) 编辑
摘要: set SERVEROUTPUT ON begin For bb In (Select * From 人员表 ) Loop dbms_output.put_line(bb.姓名||'-------'||bb.id); End Loop; end; 阅读全文
posted @ 2019-01-09 18:57 刀小爱 阅读(188) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-12-19 09:45 刀小爱 阅读(10) 评论(0) 推荐(0) 编辑
摘要: dataGridView1.DataSource = db.Class1.Where(u => u.id==123).ToList().Select(u => { return new { id=u.id}; }).ToList(); 阅读全文
posted @ 2016-10-26 08:50 刀小爱 阅读(236) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(s... 阅读全文
posted @ 2016-10-18 11:12 刀小爱 阅读(708) 评论(0) 推荐(0) 编辑
摘要: 跟 属性 columnautowidth 效果不一样 阅读全文
posted @ 2016-10-10 16:30 刀小爱 阅读(2350) 评论(0) 推荐(0) 编辑