pyrebot

Better not to ignore the past but learn from it instead. Otherwise, history has a way of repeating itself.

博客园 首页 新随笔 联系 订阅 管理

2015年10月26日 #

摘要: 1 public static String getSign(String secret, Map params) { 2 if (secret == null || "".equals(secret) || params == null) 3 throw ... 阅读全文
posted @ 2015-10-26 17:28 pyrebot 阅读(220) 评论(0) 推荐(0) 编辑

2014年10月23日 #

摘要: 服务端: 1 string pseries = context.Request["ajaxSearch"].ToString().Trim(); 2 var jsonMap = new Dictionary(); 3 StringBui... 阅读全文
posted @ 2014-10-23 16:24 pyrebot 阅读(430) 评论(0) 推荐(0) 编辑

2014年8月28日 #

摘要: 1 driver=net.sourceforge.jtds.jdbc.Driver2 jdbcUrl = jdbc:sqlserver://localhost:1433;DatabaseName=test3 user =SA4 password =1234565 devMode = true 上面是... 阅读全文
posted @ 2014-08-28 13:30 pyrebot 阅读(1477) 评论(0) 推荐(0) 编辑

2014年7月31日 #

摘要: 今天使用getChecked获取选择的行,结果总是获取一行数据,于是换用getSelections,结果还是一样,想起之前做的项目,把idField换了下,之后getChecked/getSelections 都可以获取到选中的行。 阅读全文
posted @ 2014-07-31 09:58 pyrebot 阅读(1635) 评论(0) 推荐(0) 编辑

2014年7月17日 #

摘要: 方式一:$.ajax({ type : "post", url : "user/add", data : data, async : false, //必须为false success : functi... 阅读全文
posted @ 2014-07-17 17:31 pyrebot 阅读(600) 评论(0) 推荐(0) 编辑

2014年7月16日 #

摘要: 代码如下: 1 onLoadSuccess: function (data) { 2 var rows = data.rows; //得到行数据 3 var columnMaxCharacter = new Array(); //该... 阅读全文
posted @ 2014-07-16 16:37 pyrebot 阅读(325) 评论(0) 推荐(0) 编辑

2014年6月10日 #

摘要: 今天在一个项目中用到表单提交,代码如下: $('#CreateForm').form('submit', { onSubmit: function () { ajaxCreateFrom(this, this.action); ... 阅读全文
posted @ 2014-06-10 16:14 pyrebot 阅读(526) 评论(0) 推荐(0) 编辑

2014年5月8日 #

摘要: 解决MVC中JSON字符长度超出限制的异常解决方法如下:1 2 3 8 9 View Code引用:http://stackoverflow.com/questions/4155014/json-asp-net-mvc-maxjsonlength-exception 阅读全文
posted @ 2014-05-08 17:50 pyrebot 阅读(304) 评论(0) 推荐(0) 编辑

2014年4月15日 #

摘要: 1 update tabA2 set PrintTag=c.dp_state3 from tabA a4 inner join tabB b on a.Code=b.design5 inner join tabC c on b.spdm=c.sp6 where a.PrintTag is null ... 阅读全文
posted @ 2014-04-15 10:56 pyrebot 阅读(217) 评论(0) 推荐(0) 编辑

2014年4月13日 #

摘要: 今天用Xamarin编译一个android工程遇到这样一个问题:java.exe exited with code 1. (msb6006),项目代码没有问题。于是各种谷歌,在http://forums.xamarin.com/discussion/9305/java-exe-exited-with-code-1-xamarin-android-common-targets,找到解决方法:手贱多引用了Mono.Android.Support.v13,删除之后,编译运行通过。 阅读全文
posted @ 2014-04-13 16:00 pyrebot 阅读(1143) 评论(0) 推荐(0) 编辑