05 2012 档案

摘要:gb2312string="中国"System.Web.HttpUtility.UrlEncode(gb2312string, System.Text.Encoding.GetEncoding("utf-8"))结果:%e4%b8%ad%e5%9b%bdusing Microsoft.JScript;//用 Microsoft.JScript 编码 方便前台的 javascript 调用stringResult = Microsoft.JScript.GlobalObject.encodeURIComponent("中国");结果:% 阅读全文
posted @ 2012-05-23 10:41 yqie 阅读(224) 评论(0) 推荐(0) 编辑
摘要:cast(@b as varchar(3))增加一个字段ALTER TABLE table1 ADD column1 int default 0 阅读全文
posted @ 2012-05-18 15:22 yqie 阅读(105) 评论(0) 推荐(0) 编辑
摘要:select* from(select *,row_number() over(order by code) as rownumberfrom table)as tempwhere rownumber between 10 and 20 阅读全文
posted @ 2012-05-14 16:42 yqie 阅读(99) 评论(0) 推荐(0) 编辑
摘要:$('#id').attr("href",http://www.abc.com); 阅读全文
posted @ 2012-05-13 08:01 yqie 阅读(139) 评论(0) 推荐(0) 编辑
摘要:System.Xml.XmlNode node//得到XML的属性值node.Attributes["HotelCode"].Value;node["BasicProperty"]["Address"]得到节点下面的节点内容值得到节点的内容 /// <summary> ///得到节点值的内容,如果为Null 返回 "" /// </summary> /// <param name="node">得到指定节点的值</param> /// <re 阅读全文
posted @ 2012-05-07 09:41 yqie 阅读(9750) 评论(0) 推荐(1) 编辑