上一页 1 ··· 81 82 83 84 85 86 87 88 89 ··· 106 下一页
摘要: 1 /// <summary> 2 /// 添加 3 /// </summary> 4 /// <param name="sender"></param> 5 /// <param name="e"></param> 6 private void button1_Click(object sender, EventArgs e) 7 { 8 BinaryWriter binWriter = new BinaryWriter(File.OpenWrite(d... 阅读全文
posted @ 2013-03-29 14:59 ®Geovin Du Dream Park™ 阅读(793) 评论(0) 推荐(0) 编辑
摘要: 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™ 阅读(899) 评论(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™ 阅读(868) 评论(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™ 阅读(1876) 评论(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™ 阅读(6324) 评论(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™ 阅读(408) 评论(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™ 阅读(2118) 评论(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™ 阅读(352) 评论(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™ 阅读(657) 评论(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™ 阅读(1283) 评论(0) 推荐(0) 编辑
上一页 1 ··· 81 82 83 84 85 86 87 88 89 ··· 106 下一页