会员
T恤
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
oreo
代码改变世界
博客园
首页
新随笔
联系
订阅
管理
2019年1月18日
【Windows Defender Antivirus Service 永久禁用 】
摘要: cmd 管理员运行 执行 reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender” /v “DisableAntiSpyware” /d 1 /t REG_DWORD /f 重启电脑
阅读全文
posted @ 2019-01-18 15:10 加号和减号
阅读(1836)
评论(0)
推荐(0)
2019年1月17日
解决ThinkPad x1 发热的问题
摘要: F1进入BIOS界面 将intel speedstep设置为禁用 将CPU Power Manager设置为禁用 重启电脑 电脑不再发热
阅读全文
posted @ 2019-01-17 22:26 加号和减号
阅读(10541)
评论(1)
推荐(0)
2017年2月27日
(转自aierong原创技术随笔)sqlserver字符串拆分(split)方法汇总
摘要: sqlserver字符串拆分(split)方法汇总 --方法0:动态SQL法declare @s varchar(100),@sql varchar(1000)set @s='1,2,3,4,5,6,7,8,9,10'set @sql='select col='''+ replace(@s,',',
阅读全文
posted @ 2017-02-27 16:21 加号和减号
阅读(217)
评论(0)
推荐(0)
2017年2月11日
MVC 设置项目默认起始页和多级目录的路由配置
摘要: 我们新建一个MVC的项目 默认的路由是这样的,但是由于一些需求,我们需要对Controllers按照一些规则分类。 比如说我们在Controllers下面建了一个School的文件夹,然后建了一个Student的控制器。 然后我们运行项目,当然默认访问的还是Home/Index这个页面,这时我们可以
阅读全文
posted @ 2017-02-11 16:42 加号和减号
阅读(7867)
评论(0)
推荐(2)
2017年1月3日
C# 通过反射为一个对象赋值
摘要: /// /// 反射赋值 /// public class ObjectReflection { public static PropertyInfo[] GetPropertyInfos(Type type) { return type.GetProperties(BindingFlags.Public | BindingFlags...
阅读全文
posted @ 2017-01-03 11:55 加号和减号
阅读(6898)
评论(0)
推荐(1)
winfrom RichTextBox每行字体的颜色
摘要: public static void AppendTextColorful(this RichTextBox rtBox, string text, Color color, bool addNewLine = true) { if (addNewLine) { text += Environment.NewLine;...
阅读全文
posted @ 2017-01-03 11:50 加号和减号
阅读(5400)
评论(0)
推荐(0)
C# 关于反射事件
摘要: 在frmMain类中的代码 private void StartRun(string tag, string date, bool tipType) { var dllPath = string.Format("{0}.{1}", GetType().Namespace, tag); var assembly = Assembly.Load...
阅读全文
posted @ 2017-01-03 11:46 加号和减号
阅读(1583)
评论(0)
推荐(0)
2016年10月6日
SqlBulkCopy 帮助类
摘要: using System;using System.Collections.Generic;using System.Configuration;using System.Data;using System.Data.SqlClient;using System.Linq;using System.Reflection;using System.Text;using System.Threadin...
阅读全文
posted @ 2016-10-06 12:54 加号和减号
阅读(261)
评论(0)
推荐(0)
2016年9月28日
【转载】FormsAuthenticationTicket 对象
摘要: 1.使用Forms验证存储用户自定义信息 Forms验证在内部的机制为把用户数据加密后保存在一个基于cookie的票据FormsAuthenticationTicket中,因为是经过特殊加密的,所以应该来说是比较安全的。而.net除了用这个票据存放自己的信息外,还留了一个地给用户自由支配,这就是现在要说的UserData。 UserData可以用来存储string类型的信息,并且也享受Forms验...
阅读全文
posted @ 2016-09-28 11:27 加号和减号
阅读(148)
评论(0)
推荐(0)
2016年9月22日
c# 安全队列
摘要: using System;using System.Collections.Concurrent;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;using System.Threading.Tasks; namespace AA{ public class...
阅读全文
posted @ 2016-09-22 21:05 加号和减号
阅读(1682)
评论(0)
推荐(0)
下一页
公告
点击右上角即可分享