上一页 1 ··· 83 84 85 86 87 88 89 90 91 ··· 109 下一页
摘要: ---sql server 2005 顯示一個月的數據,如果沒有空的也要顯示出來declare @T table([geovinddate] Datetime,[workcontent] nvarchar(8),[worker] nvarchar(50))Insert @Tselect '2012-8-11',N'遲到','geovindu' union allselect '2012-8-12',N'早退','geovin';with Dateas(select cast('2012-08 阅读全文
posted @ 2013-05-22 15:05 ®Geovin Du Dream Park™ 阅读(318) 评论(0) 推荐(0) 编辑
摘要: jmail.Message MailObj = new jmail.MessageClass(); MailObj.From = "geovindu@qq.com"; //发件人的地址 可以显示与服务名不一样 MailObj.FromName = "締友計算機信息技術有限公司";//用户名 //MailObj.FromName = "geovindu@dupcit.com"; MailObj.Logging = true; MailObj.MailServerUserName =... 阅读全文
posted @ 2013-05-20 18:45 ®Geovin Du Dream Park™ 阅读(648) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 選擇顏色 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button2_Click(object sender, EventArgs e) { //是否選擇了顏色 if (colorDialog1.ShowDialog(this) == DialogResult.OK) { ... 阅读全文
posted @ 2013-04-24 12:09 ®Geovin Du Dream Park™ 阅读(1886) 评论(0) 推荐(1) 编辑
摘要: 这是效果图: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> 5 <title>geovindu svg</title> 6 </head> 7 <body> 8 9 <svg width="640" height="480" xmlns=" 阅读全文
posted @ 2013-04-20 17:30 ®Geovin Du Dream Park™ 阅读(370) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/7655001/how-do-i-print-vertical-text-in-c-sharp-that-prints-up-stringformat-directionvhttp://stackoverflow.com/questions/955362/rotate-text-for-printinghttp://stackoverflow.com/questions/4460258/c-rotated-text-alignhttp://msdn.microsoft.com/en-us/library/aa287525(v 阅读全文
posted @ 2013-04-17 17:26 ®Geovin Du Dream Park™ 阅读(750) 评论(0) 推荐(0) 编辑
摘要: 1 ---請假跨月份問題,或跨年份問題 日期部分边界 2 declare @sart datetime,@end datetime,@d int,@s1 datetime,@e1 datetime,@s2 datetime,@e2 datetime,@t varchar(50),@t2 varchar(50),@I int 3 set @sart='2012-11-18 14:56:12' 4 set @end='2012-12-08 14:56:12' 5 --set @I=DATEDIFF(ms,@sart,@end) 6 set @I=DATEDIFF(s 阅读全文
posted @ 2013-04-11 11:25 ®Geovin Du Dream Park™ 阅读(692) 评论(0) 推荐(0) 编辑
摘要: 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™ 阅读(800) 评论(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™ 阅读(906) 评论(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™ 阅读(875) 评论(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™ 阅读(1897) 评论(0) 推荐(0) 编辑
上一页 1 ··· 83 84 85 86 87 88 89 90 91 ··· 109 下一页