ie421.NET

面对技术,你别无选择,.NET世界是如此精彩,而我们要做的就是:Thinking More

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

2008年8月18日 #

摘要: Earlier this year I blogged abouta new language extensibilityfeature of C# and VB called "Extension Methods". Extension methods allow developers to ... 阅读全文
posted @ 2008-08-18 13:55 ie421 阅读(280) 评论(0) 推荐(0) 编辑

摘要: 原文:http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/ In response to many of the articles here, I receive feedback askin... 阅读全文
posted @ 2008-08-18 13:38 ie421 阅读(684) 评论(0) 推荐(0) 编辑

摘要: ****** 生成js分页脚 ****** **** 没剑( 2008 - 03 - 05 ) **** 修改日期: 2008 - 3 - 12 添加两个参数:displaynum,displaylastNum可以自由定制显示的页码数量 参数:pagesize: 10 // 每页显示的... 阅读全文
posted @ 2008-08-18 13:25 ie421 阅读(266) 评论(0) 推荐(0) 编辑

摘要: (环境:vs2008+jquery1.2.3) 发现.net自带的ajax.net使用webservice输出的是json,其中关键的就是在请求时:Content-Type:application/json;utf-8 所以我们只要在POST时加上一个Content-Type:application... 阅读全文
posted @ 2008-08-18 13:20 ie421 阅读(456) 评论(0) 推荐(0) 编辑

摘要: 这里要说明几点: 1、WebService地址必须是全称; 2、数据返回(dataType)为xml,如果要返回Json,代码需要调整; 3、参数写法看实例; 页面部分代码: 无标题页 标题 内容 asmx代码: [WebMet... 阅读全文
posted @ 2008-08-18 09:13 ie421 阅读(663) 评论(0) 推荐(0) 编辑