上一页 1 ··· 94 95 96 97 98 99 100 101 102 ··· 119 下一页
摘要: 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 4 <head> 5 <meta content="text/html; charset=utf-8" http-equiv=&quo 阅读全文
posted @ 2013-03-29 09:02 ®Geovin Du Dream Park™ 阅读(922) 评论(1) 推荐(1)
摘要: 1 Bitmap bmp = new Bitmap(pictureBox1.Image, pictureBox1.Image.Size); 2 BitmapData data = bmp.LockBits(new Rectangle(0, 0, bmp.Width, bmp.Height), ImageLockMode.ReadWrite, bmp.PixelFormat); 3 int length = data.Stride * data.Height; 4 IntPtr ptr = data... 阅读全文
posted @ 2013-03-25 18:51 ®Geovin Du Dream Park™ 阅读(891) 评论(0) 推荐(0)
摘要: 1 /// <summary> /// 拼音检索 /// </summary> /// <param name="strText"></param> /// <returns></returns> private string GetChineseSpell(string strText) { int len = strText.Length; string myStr = ""; for (int i = 0; i ... 阅读全文
posted @ 2013-03-18 17:49 ®Geovin Du Dream Park™ 阅读(1917) 评论(0) 推荐(0)
摘要: HTML: 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 4 <head> 5 <meta content="text/html; charset=utf-8" http-equi 阅读全文
posted @ 2013-03-15 18:49 ®Geovin Du Dream Park™ 阅读(6856) 评论(0) 推荐(0)
摘要: http://www.wiseowl.co.uk/blog/s334/calendar.htmSQL Server 2012 1 CREATE PROC spCreateCalendarTable( 2 @StartDate datetime = '20000101', 3 @EndDate datetime = '20201231' 4 ) AS 5 6 -- create a table of dates for use in PowerPivot 7 8 -- NOT FOR COMMERCIAL USE OR REDISTRIBUTION 9 -- WI 阅读全文
posted @ 2013-03-06 10:32 ®Geovin Du Dream Park™ 阅读(422) 评论(0) 推荐(0)
摘要: http://www.cs.tut.fi/~jkorpela/www/justify.htmlhttp://webdesign.about.com/od/styleproperties/p/blsptextalign.htm 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3. 阅读全文
posted @ 2013-03-05 16:52 ®Geovin Du Dream Park™ 阅读(2133) 评论(0) 推荐(0)
摘要: 1 --日曆(sql server 2005) 2 3 CREATE TABLE T1 (ID INTEGER) 4 INSERT INTO T1 VALUES (1) 5 ---- 6 with x(dy,dm,mth,dw,wk) 7 as( 8 select dy, 9 day(dy) dm,10 datepart(m,dy) mth,11 datepart(dw,dy) dw, 12 case when datepart(dw,dy)=113 then datepart(ww,dy)-114 ... 阅读全文
posted @ 2013-03-04 18:06 ®Geovin Du Dream Park™ 阅读(369) 评论(0) 推荐(0)
摘要: 1 /// <summary> 2 /// 农历日历 3 /// </summary> 4 private static ChineseLunisolarCalendar calendar = new ChineseLunisolarCalendar(); 5 /// <summary> 6 /// 中文数字 7 /// </summary> 8 private static string ChineseNumber = "〇一二三四五六七八九"; 9 /// <s... 阅读全文
posted @ 2013-02-18 17:04 ®Geovin Du Dream Park™ 阅读(670) 评论(0) 推荐(0)
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.IO; 6 using System.Drawing.Imaging; 7 using System.Drawing.Printing; 8 using System.Drawing.Drawing2D; 9 using System.Drawing.Text; 10 using System.Diagnostics; 11 using System.Runt... 阅读全文
posted @ 2013-01-30 13:05 ®Geovin Du Dream Park™ 阅读(1309) 评论(0) 推荐(0)
摘要: 1 ---去除字符串中重復的值函數 2 create function StringRemove(@str nvarchar(2000)) 3 returns nvarchar(2000) 4 as 5 begin 6 declare @result nvarchar(2000),@temp nvarchar(1000) 7 set @result='' 8 set @temp='' 9 while(charindex(',',@str)<>0)10 begin11 set @temp=substring(@str,1,... 阅读全文
posted @ 2013-01-19 17:17 ®Geovin Du Dream Park™ 阅读(472) 评论(0) 推荐(0)
上一页 1 ··· 94 95 96 97 98 99 100 101 102 ··· 119 下一页