摘要: function ToUpper(srcValue) { if (srcValue == "") return ""; if (!(/^(([1-9](\d)*)|0)(\.(\d){1,2})?$/g).test(srcValue)) { return ""; } var vals = srcValue.split('.'); var num = vals[0]; var numlen = num.length; var cn = "零壹贰叁肆伍陆柒捌玖"; var unit = new Arra 阅读全文
posted @ 2014-01-15 10:46 心兰月湾 阅读(211) 评论(0) 推荐(0) 编辑
摘要: List listdoc = flowQueryBO.QueryProject(condition).Items.ToList(); DataTable result = new DataTable(); if (listdoc != null && listdoc.Count > 0) { PropertyInfo[] propertys = listdoc[0].GetType().GetProperties(); foreach (PropertyInfo pi in propertys) { Type colType = pi.PropertyType; if ( 阅读全文
posted @ 2013-12-31 11:03 心兰月湾 阅读(191) 评论(0) 推荐(0) 编辑
摘要: public static string BirthDate(string idNO) { try { string strYear = string.Empty; string strMonth = string.Empty; string strDay = string.Empty; string strBirtyDate = string.Empty; if (idNO.Length == 18) { strYear = idNO.Substring(6, 4) + "年"; strMonth = idNO.Substring(10, 2) + "月&quo 阅读全文
posted @ 2013-12-30 16:33 心兰月湾 阅读(197) 评论(0) 推荐(0) 编辑
摘要: public static string NumGetStr(string num) { try { char[] Ls_Shz = new char[] { '零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '扒', '玖' }; string[] Ls_DW_sh = new string[] { "万亿", "拾佰仟", "分角" }; if 阅读全文
posted @ 2013-12-30 16:30 心兰月湾 阅读(171) 评论(0) 推荐(0) 编辑