摘要: 1 MemoryStream MemStream = new MemoryStream();2 Bitmap bmp = new Bitmap(200, 60);3 Graphics g = Graphics.FromImage(bmp);4 g.Clear(Color.White);5 g.DrawEllipse(new Pen(new SolidBrush(Color.Blue)), 10, ... 阅读全文
posted @ 2009-12-03 17:30 coudly 阅读(142) 评论(0) 推荐(0) 编辑
摘要: //// curtain advertising v1.4 power by coudly copyright//var _first = document.body.firstChild;while(_first.nodeType!=1){_first = _first.nextSibling;}var curtain = document.createElement("DIV");curtai... 阅读全文
posted @ 2009-12-01 09:25 coudly 阅读(163) 评论(0) 推荐(0) 编辑
摘要: //这种是定时间点执行任务的asp.net简易解决方案。 阅读全文
posted @ 2009-11-30 09:25 coudly 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 以下是Global.asax文件的内容。 阅读全文
posted @ 2009-11-30 09:07 coudly 阅读(124) 评论(0) 推荐(0) 编辑
摘要: int max = 100; //这样产生0 ~ 100的强随机数(含100)  int rnd = int.MinValue;  decimal _base = (decimal)long.MaxValue;  byte[] rndSeries = new byte[8];  System.Security.Cryptography.RNGCryptoServiceProvider rng   ... 阅读全文
posted @ 2009-11-30 08:55 coudly 阅读(366) 评论(0) 推荐(0) 编辑
摘要: javascript_IE7中CheckBox的checked=true不打勾解决方法:varchkbox=document.createElement("INPUT");chkbox.type="checkbox";chkbox.checked=true;lnk.parentNode.appendChild(chkbox);以上代码在IE7下,生成的Checkbox无法正确的打上勾。... 阅读全文
posted @ 2008-11-06 17:30 coudly 阅读(584) 评论(0) 推荐(0) 编辑