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
阅读全文
摘要:/// <summary> /// 将金额转换为汉字 /// </summary> public class Converter { public static string Convert(double money) { string strMoney = money.ToString(); string[] arraryMoney = strMoney.Split('.'); //整数部分 StringBuilder builerInt = new ...
阅读全文