05 2013 档案

摘要:2.js获取html页面传参function GetQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)","i"); var r = window.location.search.substr(1).match(reg); if (r!=null) return (r[2]); return null;}alert(GetQueryString("参数名1"));alert(GetQueryStri 阅读全文
posted @ 2013-05-08 10:12 文艺流浪汉 阅读(270) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// 将金额转换为汉字 /// </summary> public class Converter { public static string Convert(double money) { string strMoney = money.ToString(); string[] arraryMoney = strMoney.Split('.'); //整数部分 StringBuilder builerInt = new ... 阅读全文
posted @ 2013-05-03 14:28 文艺流浪汉 阅读(462) 评论(0) 推荐(0) 编辑