会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
六道仙人
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2016年11月
IIS 使用域账户访问SQL 需要配置
摘要: 打开应用程序的 Web.config 文件并添加以下元素: <authentication mode="Windows" /> <identity impersonate="true" userName="domain\username" password="password"/> <authent
阅读全文
posted @ 2016-11-04 16:25 -Ward-
阅读(343)
评论(0)
推荐(0)
2016年10月
WPF .NET 4.0 OpenClipboard 失败 (异常来自 HRESULT:0x800401D0 (CLIPBRD_E_CANT_OPEN)) BUG解决
摘要: 在项目 App.xaml 文件下 => Application 节点=> 添加 DispatcherUnhandledException="Application_DispatcherUnhandledException" 属性 在App.xaml.cs下添加方法 void Application_
阅读全文
posted @ 2016-10-20 21:22 -Ward-
阅读(3034)
评论(0)
推荐(0)
WPF datagrid 获取行或单格为NULL 问题
摘要: datagrid 属性 EnableRowVirtualization 设置为 false 解决...不要问我为什么. 害死我了
阅读全文
posted @ 2016-10-20 20:15 -Ward-
阅读(812)
评论(0)
推荐(1)
内存分为的5大区
摘要: 一、预备知识—程序的内存分配 一个由C/C++编译的程序占用的内存分为以下几个部分 : 1、栈区(stack)— 由编译器自动分配释放 ,存放函数的参数值,局部变量的值等。其 操作方式类似于数据结构中的栈。 2、堆区(heap) — 一般由程序员分配释放, 若程序员不释放,程序结束时可能由OS回 收
阅读全文
posted @ 2016-10-17 22:50 -Ward-
阅读(1094)
评论(1)
推荐(0)
2016年6月
is7.5和iis8文件上传大小限制30M修改方法
摘要: C:\Windows\System32\inetsrv\config\schema\ 下的IIS_schema.xml文件,但是考虑到安全等问题,而且这个文件默认是只读的,所以不建议直接修改这个配置文件,而应该在iis的管理器里修改: 打开某一个网站或者点击根节点,在最下方的“管理”部分,选择“配置
阅读全文
posted @ 2016-06-02 17:17 -Ward-
阅读(7239)
评论(0)
推荐(0)
2016年4月
MVC5 Controller构造方法获取User为空解决方法
摘要: 用如下方法获取UserId报空引用异常 1 2 3 4 5 6 7 8 9 public class BaseController : Controller { protected SiteContext db = new SiteContext(); protected Guid userId;
阅读全文
posted @ 2016-04-05 21:48 -Ward-
阅读(278)
评论(0)
推荐(0)
2016年2月
js删除Array数组中的某个元素
摘要: Array.prototype.indexOf = function (val) { for (var i = 0; i < this.length; i++) { if (this[i] == val) return i; } return -1; }; Array.prototype.remov
阅读全文
posted @ 2016-02-28 13:47 -Ward-
阅读(61485)
评论(2)
推荐(0)
VS2015 工具箱 保存位置
摘要: 我的文档\Visual Studio 2015\Settings\CurrentSettings.vssettings Environment_Toolbox 节点 <Category name="Environment_Toolbox" Category="{481999F2-7479-4e03-
阅读全文
posted @ 2016-02-19 20:30 -Ward-
阅读(1646)
评论(0)
推荐(0)
Mapper 赋值对应实体属性
摘要: public static class MapperExtensions { public static TResult MapTo<TResult>(this object self, TResult result) { if (self == null) throw new ArgumentNu
阅读全文
posted @ 2016-02-15 23:41 -Ward-
阅读(653)
评论(0)
推荐(0)
2015年9月
cookieHelper
摘要: function setCookie(cname, cvalue, exdays) { var d = new Date(); d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000)); var expires = "expir...
阅读全文
posted @ 2015-09-25 11:33 -Ward-
阅读(155)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告