Jimmypony的技术汇总区
很多都不会,很多都不懂,不要浮躁,静心学习
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> jquery递归绑定XML代码 以下是xml文件 Code Code highlighting produced by Actipro Cod... 阅读全文
posted @ 2008-08-27 14:40 Jim~ 阅读(1315) 评论(0) 推荐(0) 编辑
摘要: 如图,[dynamic]标记的是调试的元文件 xml1.htm[dynamic]和xml.js[dynamic] 我更改后的文件是xml1.htm和xml.js,见图1 2 调试的文件有debugger 更改后的文件我把debugger注了 js脚本中我把变量给改了见3 4 ,所以在浏览新的xml1.htm时,竟然报对象找不到,真实受不了了!!! 为什么我每次更改文件保存后总是调试我的旧代码 新... 阅读全文
posted @ 2008-08-26 22:33 Jim~ 阅读(785) 评论(1) 推荐(0) 编辑
摘要: //最简单的设置 name=value 最简单的设置cookie //对于中文等特殊字符用encodeURIComponent decodeURIComponent 互相转化 document.cookie = "lalala="+encodeURIComponent("啦啦啦"); /* 其他的一些参数设置 设置过期时间 用最大秒数 或者设置GMT过期时间 ";max-age="+(60*60... 阅读全文
posted @ 2008-08-22 14:05 Jim~ 阅读(930) 评论(0) 推荐(0) 编辑
摘要: 以前也发生过这种问题,自己忽视了,今天在做DEMO的时候,调试了好久才想起来了,现在亡羊补牢下下... 这个Demo是这样的在网站下有2个目录一个是Controls 下面有用户控件Login.ascx 一个是Handlers目录下面有文件CheckImg.ashx,代码如下: Code highlighting produced by Actipro CodeHighlighter (fre... 阅读全文
posted @ 2008-08-22 09:47 Jim~ 阅读(762) 评论(1) 推荐(0) 编辑
摘要: 在默认情况下ashx是无法处理session的,但是 只要在继承IRequiresSessionState 接口就能进行session的处理了 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1 public class Handler1 : ... 阅读全文
posted @ 2008-08-22 09:00 Jim~ 阅读(456) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/*很简单的一个例子: 假设有表a 字段id(int) num(int) 定义一个变量 初始化为10 */ declare @itemid as integer set @itemid=10 --这里... 阅读全文
posted @ 2008-08-19 15:42 Jim~ 阅读(609) 评论(0) 推荐(0) 编辑
摘要: 简单地说,JSON 可以将 JavaScript 对象中表示的一组数据转换为字符串,然后就可以在函数之间轻松地传递这个字符串,或者在异步应用程序中将字符串从 Web 客户机传递给服务器端程序。这个字符串看起来有点儿古怪(稍后会看到几个示例),但是 JavaScript 很容易解释它,而且 JSON 可以表示比名称/值对更复杂的结构。例如,可以表示数组和复杂的对象,而不仅仅是键和值的简单列表。 简单... 阅读全文
posted @ 2008-08-08 15:47 Jim~ 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 使用方法: 需要设定绑定的数据控件ID(必填) 设定连接服务器的connectionString ConStrName 在web.config文件(必填) Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> ... 阅读全文
posted @ 2008-08-07 13:17 Jim~ 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 学了那么久ASP.NET一直没有学习__doPsotBack 现在补上,扫扫盲 ASPX页面有包含asp:LinkButton或者带有AutoPostBack属性且其值为true的服务器控件时,ASP.NET会自动为页面生成下面的脚本: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.Cod... 阅读全文
posted @ 2008-08-04 16:09 Jim~ 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 1 使用Row_Number Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->with t_pager as (select myIndex = ROW_NUMBER() OVER (ORDER BY TableColumns),* from clas... 阅读全文
posted @ 2008-08-04 14:28 Jim~ 阅读(212) 评论(0) 推荐(0) 编辑