摘要: mysql日期和时间格式转换Linuxscp使用详解Oracle/Mysql/SqlServer函数区别2011-07-01 12:34:36|分类: Mysql技术 |标签:mysqlsqlseveroracle函数 |举报 |字号大中小订阅 Sql代码1.类型转换--Oracle select ... 阅读全文
posted @ 2014-10-10 16:40 寻天崖子 阅读(523) 评论(0) 推荐(0)
摘要: Installing the Eclipse PluginAndroid offers a custom plugin for the Eclipse IDE, called Android Development Tools (ADT). This plugin provides a powerf... 阅读全文
posted @ 2014-09-18 10:01 寻天崖子 阅读(216) 评论(0) 推荐(0)
摘要: 不同的ContentType 会影响客户端所看到的效果.默认的ContentType为 text/html 也就是网页格式.代码如: 显示的为网页,而 则会显示html原代码.以下为一些常用的 ContentTypeGIF images JPEG images TIFF images MI... 阅读全文
posted @ 2014-08-28 16:34 寻天崖子 阅读(162) 评论(0) 推荐(0)
摘要: Content-Disposition的使用和注意事项最近不少Web技术圈内的朋友在讨论协议方面的事情,有的说web开发者应该熟悉web相 关的协议,有的则说不用很了解。个人认为这要分层次来看待这个问 题,对于一个新手或者刚入门的web开发人员而言,研究协议方面的东西可能会使得web开发失去趣味性、... 阅读全文
posted @ 2014-08-21 15:22 寻天崖子 阅读(694) 评论(0) 推荐(0)
摘要: 基数排序 public void BaseSord(int[] numbers ,int bits) { int m = 1; int n =1; int k = 0; int length=numbers.Length; int[,] temp=new int[10,length]; int[] ... 阅读全文
posted @ 2014-07-24 11:00 寻天崖子 阅读(155) 评论(0) 推荐(0)
摘要: 1,Http 协议中有专门的指令来告知浏览器, 本次响应的是一个需要下载的文件. 格式如下: Content-Disposition: attachment;filename=filename.ext 以上指令即标记此次响应流是附件,且附件文件名为 filename.ext 注意: (1): 中文文... 阅读全文
posted @ 2014-07-02 09:40 寻天崖子 阅读(304) 评论(0) 推荐(0)
摘要: 一、定义变量--简单赋值declare @a intset @a=5print @a--使用select语句赋值declare @user1 nvarchar(50)select @user1='张三'print @user1declare @user2 nvarchar(50)select @us... 阅读全文
posted @ 2014-04-27 15:15 寻天崖子 阅读(193) 评论(0) 推荐(0)
摘要: 页面生命周期microsoft Internet 信息服务 (IIS) 所收到的对某 Microsoft ASP.NET 页面的每个请求都被移交给 ASP.NET HTTP 管线。HTTP 管线由一系列托管对象组成,这些对象按顺序处理该请求,并完成从 URL 到普通 HTML 文本的转换。HTTP 管线的入口点是httpruntime类。ASP.NET 基础结构为辅助进程中所承载的每个 AppDomain 创建此类的一个实例(请注意,该辅助进程为当前正在运行的每个 ASP.NET 应用程序维护一个不同的 AppDomain)。HttpRuntime类从内部池中选取一个httpapplicati 阅读全文
posted @ 2012-08-26 15:01 寻天崖子 阅读(196) 评论(0) 推荐(0)
摘要: 首先客户端有个触发回到的事件,在这我把它设置成按钮的Click事件:<input id="Button2" type="button" value="Aysn Call" onclick="button_click()" />1.此事件向服务器端发送请求: function button_click() { var args = document.forms[0]['TextBox1'].value; <%=ClientScript.GetCallbackEventReferenc 阅读全文
posted @ 2012-08-01 10:54 寻天崖子 阅读(191) 评论(0) 推荐(0)
摘要: 1.闭包:其实就是一个函数,这个函数能够访问另一个作用域中的变量。创建闭包的常见方式,就是在一个函数内部创建(或引用)另一个函数,这另一个函数就是闭包。function myFun(i) { var value1=function1(i); var value2=function2(i); if(value1<value2) { return -1; } else if(value1>value2) { return 1; } else { return 0; } }函数function1(i)和function2(i)就是闭包。2.闭包的副作用:闭包只能取得包含函数中任何变量的最 阅读全文
posted @ 2012-07-28 15:08 寻天崖子 阅读(143) 评论(0) 推荐(0)