摘要: 序言工欲行其事,必先利其器。PHP集成环境也非常多,比如AppServer、xampp、WAMP......只要一键安装就把PHP环境给搭建好了,这种方式傻瓜式的不是我喜欢的,以后想深入学习PHP,升级版本不方便, 同时也想尝试一下自己动手搭建PHP环境,因为不是做PHP这个方面的,配置开发环境耗费... 阅读全文
posted @ 2014-11-05 14:06 看看天上云 阅读(608) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Web;using System.Data;using System.Text.RegularExpressions;using affordableasia.sabre;using System.Web.SessionState;public class Handler : IHttpHandler, IRequiresSessionState{ public void ProcessRequest (HttpContext context) { if(context.Request["Key"] !=null) ... 阅读全文
posted @ 2013-12-12 15:38 看看天上云 阅读(421) 评论(0) 推荐(0) 编辑
摘要: CSS 样式部分:JS部分: HTML 部分: 选项卡1 选项卡2 选项卡3 选项卡1选项卡1选项卡1选项卡1选项卡1 选项卡2选项卡2选项卡2选项卡2选项卡2 选项卡3选项卡3选项卡3选项卡3选项卡3 效果:常用的jquery总结一下下,当做笔记了,用的时候有地方看看而已 阅读全文
posted @ 2013-09-26 17:04 看看天上云 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 1、JS部分: 有时候碰到常用的checkbox选择的时候容易忘,今天有时间稍微记下来 HTML部分: 苹果 香蕉 葡萄 桃子 阅读全文
posted @ 2013-09-26 16:17 看看天上云 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 1. HTML控件 2.服务器控件. 直接写在客户端上: 3.服务器控件写到C#服务器端上:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.Script.Serialization;namespace Web{ public partial class Default : System.Web.UI.Page { ... 阅读全文
posted @ 2013-08-05 14:39 看看天上云 阅读(375) 评论(0) 推荐(0) 编辑
摘要: $("html,body").animate({ scrollTop: $(".reviews_list").children("ul").children("li").children("b:last").offset().top }, 1000); 阅读全文
posted @ 2013-07-03 17:28 看看天上云 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 1、日期函数dateadd进行加减年月日小时,拼接标准日期格式1、set fldDate=Convert(date,dateadd(hour,-1,Convert(datetime,fldDate + ' ' +CONVERT(varchar(2),fldTime)+':00:00'))),fldTime=DATEPART(HOUR,dateadd(hour,-1,Convert(datetime,fldDate + ' ' +CONVERT(varchar(2),fldTime)+':00:00')))2、len函数判断字符串长 阅读全文
posted @ 2012-07-25 14:44 看看天上云 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 1 XmlDocument doc = new XmlDocument(); 2 doc.Load(HttpContext.Current.Server.MapPath("~/App_Data/" + xmlName + ".xml")); 3 XmlNodeList nodeList = doc.SelectNodes(xpath); 4 foreach (XmlNode sub in nodeList) 5 { 6 if ... 阅读全文
posted @ 2012-07-12 10:23 看看天上云 阅读(1851) 评论(0) 推荐(0) 编辑
摘要: 1 /// <summary> 4 /// 去除后面多余的零 5 /// </summary> 6 /// <param name="dValue"></param> 7 /// <returns></returns> 8 private string RemoveZero(decimal dValue) 9 {10 string sResult = dValue.ToString();11 if (sResult.IndexOf(".") < 0)12 return sRes 阅读全文
posted @ 2012-04-28 10:07 看看天上云 阅读(3052) 评论(0) 推荐(0) 编辑
摘要: 1 select name 过程名,create_date as 创建时间,modify_date as 修改时间 from sys.procedures order by modify_date desc2 3 select name 过程名,create_date as 创建时间,modify_... 阅读全文
posted @ 2012-03-07 18:47 看看天上云 阅读(382) 评论(2) 推荐(0) 编辑