问题重现 在使用.NET MVC原生的JsonResult输出json数据时,如果使用 [HttpPost] public JsonResult GetPagerData(int rows, int page, string sort, string order, string filterR...
分类:
Web程序 时间:
2015-01-04 11:07:30
阅读次数:
258
转载请注明:http://blog.csdn.net/beijiwei/article/details/42386805http://www.cnblogs.com/ntsk13/p/4200404.html2015年1月2日, 不知道哪根筋发神经病了,手一抖把VB的虚拟硬盘删掉了,连带着许多资料也...
分类:
系统相关 时间:
2015-01-04 11:04:29
阅读次数:
312
原题描叙:
请见http://blog.csdn.net/liuchang54/article/details/42341053;
代码如下:
#include
#include
#include
#include
using namespace std;
int main()
{
double distance(int dime,double x1,double y...
分类:
其他好文 时间:
2015-01-04 10:14:12
阅读次数:
169
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/42167015
在上一篇文章中介绍了“ 内联临时变量“。本文将介绍“以查询取代临时变量”这种重构手法。
下面让我们来学习这种重构手法吧。
开门见山
发现:你的程序以一个临时变量保存...
分类:
其他好文 时间:
2015-01-04 10:02:15
阅读次数:
180
转载地址:http://www.oschina.net/code/snippet_163910_6092发现很多Android应用的选项卡 都是显示在页面底部的,网上有资料:通过反射获取TabWidget中的私有变量,改变其值。今天反编译了腾讯微薄,发现实现这个很简单,只需将布局文件 中标签加个an...
分类:
移动开发 时间:
2015-01-04 09:52:43
阅读次数:
231
using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebContro...
分类:
Web程序 时间:
2015-01-04 09:51:32
阅读次数:
137
由于工作需求写的一个程序,判断某一年所有的放假日期,根据国家的法定假日和补休日期进行的判断。 protected void Button1_Click(object sender, EventArgs e) { string sql = ""; ...
分类:
Web程序 时间:
2015-01-04 09:51:14
阅读次数:
136
最近做的系统中老出现的一些问题不太明白,在使用 Response.End、Response.Redirect 或 Server.Transfer 时出现 ThreadAbortException ,本来系统是没有问题的,在保存数据时也可以正常,本来使用try-catch 语句是用来捕获一异常情况的,...
分类:
编程语言 时间:
2015-01-04 09:49:36
阅读次数:
240
public class ListViewClickActivity extends Activity { private ListView lv; SimpleAdapter adp;//定义适配器 private List> mapList;//定义数据源 protected voi...
分类:
移动开发 时间:
2015-01-04 09:48:31
阅读次数:
193