会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
-, -
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2016年7月1日
程序集里包含多个版本dll引用 ,强制低版本到制定版本dll引用
摘要: 在 config 的 <configuration> 节点内加入以下 类似信息 以下是以Newtonsoft.Json 为例子 <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembl
阅读全文
posted @ 2016-07-01 17:55 N1900
阅读(405)
评论(0)
推荐(0)
2016年6月2日
ng-include 上ng-controller 无法获取控件
摘要: A.Html内容如下 B.Html内容如下 Error: 在testCtrl 中是无法使用$scope.textCtrl获取 testGrid ,是因为 ng-inclue会生成一个独立的子scope ,和controller上的scope独立开来 类似于js的原型链。 所以要在 testCtrl上的 $scope访问 A.Html的控件 则需要 像下面这样写 ...
阅读全文
posted @ 2016-06-02 09:24 N1900
阅读(467)
评论(0)
推荐(0)
2016年4月20日
Mysql 5.7 报错 3534 错误
摘要: 需要先 执行 mysqld --initialize 然后 mysqld --install 最后 net start mysql 即可启动服务 如果不执行第一步 则会报错
阅读全文
posted @ 2016-04-20 18:39 N1900
阅读(443)
评论(0)
推荐(0)
2016年1月13日
Gulp 项目简单构建,自动刷新页面
摘要: /** * Created by 1900 on 12/18/2015. */var plugins={ fs:require("fs"), gulp:require("gulp"), uglify:require("gulp-uglify"), connect :requi...
阅读全文
posted @ 2016-01-13 14:35 N1900
阅读(328)
评论(0)
推荐(0)
2016年1月9日
如何处理UIVIew addsubview 不显示subview
摘要: 老代码: addsubview不显示uilabel-(UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section{ UIView *view = [[UIView alloc] in...
阅读全文
posted @ 2016-01-09 23:55 N1900
阅读(981)
评论(0)
推荐(0)
2015年12月14日
list 交换位置扩展
摘要: public static List Swap(this List list, int index1,int index2) { if(index1=list.Count) { throw new Except...
阅读全文
posted @ 2015-12-14 17:47 N1900
阅读(365)
评论(0)
推荐(0)
2015年12月5日
angular 调用element的 onfocus onkeydown onblur等事件
摘要: 项目里要实现一个input验证通过就切换到下一个input的功能当然用jq dom操作很简单 ,大家都懂,现在用 angular,mvc 数据模型控制分离,不想再dom操作怎么办以下方法 app.directive('focusDir',[ "$timeout","$parse" ,function...
阅读全文
posted @ 2015-12-05 15:06 N1900
阅读(2046)
评论(0)
推荐(0)
2015年12月1日
angular 神坑 ,回调函数无法被监视
摘要: 原方法,使用一个confirm 点ok然后回调,结果 界面无法刷新,搜索了下 是因为$scope没有监视model,必须使用apply方法 $scope.SelectedRow=row; negAlert.confirm(function(){ ...
阅读全文
posted @ 2015-12-01 18:07 N1900
阅读(871)
评论(0)
推荐(0)
2015年11月25日
Angular js Radio Button
摘要: 症状: 绑定一个list radio button 老是只能绑定一行,纠结了很久 ,回家发现 原来是 name 用了同一个 ,坑啊,记录下 免得下次再犯。之前的代码 {{row.name}} ...
阅读全文
posted @ 2015-11-25 22:32 N1900
阅读(385)
评论(0)
推荐(0)
2015年11月18日
C# id 字符串之类的拼接
摘要: 背景 : id数组 [1,2,3,4,45,7] 要拼接字符串‘1’,‘2’,‘3’,看了同事自己写了代码 string+=‘,’ 之类的 头大解决:string有静态函数 ,string.Join(",'",array)可以满足要求 首尾缺少的 符号 可以最后string.fromat(''{0}...
阅读全文
posted @ 2015-11-18 21:26 N1900
阅读(419)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告