摘要:
function cmycurd(num){ //转成人民币大写金额形式 var str1 = '零壹贰叁肆伍陆柒捌玖'; //0-9所对应的汉字 var str2 = '万仟佰拾亿仟佰拾万仟佰拾元角分'; //数字位所对应的汉字 var str3; //从原num值中取出的值 var str4; //数字的字符串形式 var str5 = ''; //人民币大写金额形... 阅读全文
摘要:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->window.onbeforeunload = function() { var n = window.event.screenX - window.s... 阅读全文
摘要:
ASP.NET 的缓存机制相比ASP有很大的改进,本文档除对常用优化方法进行总结介绍外,强调了如何使用ASP.NET的缓存来获得最佳性能。 1:不要使用不必要的session 和ASP中一样,在不必要的时候不要使用Session。 可以针对整个应用程序或者页面禁用会话状态: l 禁用页面的会话状态 l 禁用应用程序的会话状态 在应用程序的... 阅读全文
摘要:
public string GetRandomColor() { Random RandomNum_First = new Random((int)DateTime.Now.Ticks); // 对于C#的随机数,没什么好说的 System.Threading.Thread.Sleep(RandomNum_First.Next(50)); ... 阅读全文
摘要:
using System;using System.IO;using System.Text;namespace Document.Bll{ /**//// /// Summary description for fileinfo. /// public class fileinfo { public fileinfo() { ... 阅读全文
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--///<summary>///EXCEL导出方法///</summary>///<paramname="control">控件名称</param>///... 阅读全文
摘要:
--用于返回字符串所在的最后一个位置create function dbo.f_getNumber_value(@s varchar(8000),@split varchar(10))returns intasbegin declare @start int,@number int set @start=1 while @start@start) begin set @start=@a ... 阅读全文
摘要:
using System;namespace ExpertLib.ChineseSpecial{ RMBException#region RMBException /**//// /// 人民币转换的错误 /// public class RMBException : System.Exception { public RMBEx... 阅读全文
摘要:
1:对项目添加引用,Microsoft Word 11.0 Object Library2:在程序中添加 using Word = Microsoft.Office.Interop.Word; 3:程序中添加Word.Application app = new Microsoft.Office.Interop.Word.Application(); //可以打开word程序Word.Documen... 阅读全文