上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页
摘要: int result = 0; try { string fileType = this.upLoadExel.FileName.Split('.')[this.upLoadExel.FileName.Sp... 阅读全文
posted @ 2014-01-08 15:54 s_p 阅读(308) 评论(0) 推荐(0)
摘要: 这个是模拟的数据,用于测试,为了方便学习 弹出框信息都是固定的,以及操作都不是写的循环,实际开发用setInterval 或者for 以减少冗余。 Simple Polylines 改进和优化 Simple Polylines 阅读全文
posted @ 2013-12-23 09:47 s_p 阅读(394) 评论(0) 推荐(0)
摘要: 解释:跨文档消息传输Cross Document Messaging。编写代码前注意判断浏览器是否支持Html5实例: b页面向a页面发送消息。 我是b页面 运行结果:其中hello world是b页面发送过来的。注意事项 :SyntaxotherWindow.postMessage(message, targetOrigin, [transfer]);otherWindow reference to another window; such a reference may be obtained, for example, using thec... 阅读全文
posted @ 2013-10-21 17:31 s_p 阅读(552) 评论(0) 推荐(0)
摘要: b c d 阅读全文
posted @ 2013-09-15 21:36 s_p 阅读(507) 评论(0) 推荐(0)
摘要: 1:缓存。你需要了解大数据高并发的瓶颈在哪里,一般都是数据库层面的,机械硬盘承载不起非常快速的读写操作,cpu承载不起大量的逻辑运算,所以最基本的解决思路就是:1.换固态硬盘加快硬盘的读写效率。2.建立缓存中间件降低对硬盘的读写次数,缓存不用多说了,最最最基本和重要的优化策略。3.将硬盘的读写或者数... 阅读全文
posted @ 2013-08-26 00:25 s_p 阅读(489) 评论(0) 推荐(0)
摘要: 知识要求:1:熟悉dom结构层次(如childNodes,nodeType,parent,children)等。 2:熟悉jq对象转换js 对象,反之 毕竟不是专业js人。借助第3方框架。其实jq也是js封装的,所以请不要侮辱jq。 3:递归的使用(http://www.iteye.com/job/topic/1126012) iteye 深圳7k难找写递归的人 不知道大侠你们是怎么认为的。 4:学会调试js。工具 谷歌或者火狐 ie个人不习惯.第1文本编辑器。http://www.cnblogs.com/rubylouvre/archive/2009/08... 阅读全文
posted @ 2013-06-25 16:35 s_p 阅读(2853) 评论(6) 推荐(2)
摘要: 1: Response.BinaryWrite() 其实就是和输出文字一样 只是图片是流的形式; delegate long myDel(int first, int second); FileStream fs; byte[] _byte; protected void Page_Load(object sender, EventArgs e) { Response.ContentType = "image/jpeg"; fs = new FileStream(Server.Ma... 阅读全文
posted @ 2013-06-17 00:26 s_p 阅读(1596) 评论(0) 推荐(0)
摘要: C# Timer用法有哪些呢?我们在使用C# Timer时都会有自己的一些总结,那么这里向你介绍3种方法,希望对你了解和学习C# Timer使用的方法有所帮助。关于C# Timer类 在C#里关于定时器类就有3个C# Timer使用的方法1.定义在System.Windows.Forms里C# Ti... 阅读全文
posted @ 2013-06-06 17:18 s_p 阅读(2170) 评论(0) 推荐(1)
摘要: //创建xml XDocument employeeDoc = new XDocument( new XElement("html", new XElement("body... 阅读全文
posted @ 2013-06-06 16:57 s_p 阅读(199) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2013-05-18 20:09 s_p 阅读(123) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页