摘要: update tUser set code= replace (code,'node','center') 阅读全文
posted @ 2006-08-01 10:54 forrestsun 阅读(1344) 评论(0) 推荐(0) 编辑
摘要: IPAddress ipv= = Dns.Resolve("localhost").AddressList [0] IPAddress ipv= Dns.GetHostEntry(Dns.GetHostName()).AddressList[0]; 阅读全文
posted @ 2006-07-31 11:17 forrestsun 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 艺术剧院 歌手 32 12 中学音乐 演员 2... 阅读全文
posted @ 2006-07-20 08:14 forrestsun 阅读(844) 评论(1) 推荐(0) 编辑
摘要: 工作原因,需要将进度信息显示,并可以保存所以写了个小控件,有需要的朋友可以看下我只做了正确与错误的显示,其它的可以跟据枚举操作环境: .NET 2.0 1using System; 2using System.Collections; 3using System.ComponentModel; 4using System.Drawing; 5using System.Windows.... 阅读全文
posted @ 2006-07-17 15:09 forrestsun 阅读(557) 评论(0) 推荐(0) 编辑
摘要: HKCU\Software\Microsoft\VisualStudio\8.0\FileMRUList <--- File listHKCU\Software\Microsoft\VisualStudio\8.0\ProjectMRUList <--- Project list 阅读全文
posted @ 2006-07-06 22:24 forrestsun 阅读(536) 评论(0) 推荐(0) 编辑
摘要: 动物(animals)中的猫(cat)和狗(dog)都有咬(bit)的动作。请运用.net中对象的多态性技术展示猫咬和狗咬的动作。要求用C#代码实现。 namespace ConsoleApplication1{ interface animalBit { void bit(); } class Program { static voi... 阅读全文
posted @ 2006-04-18 21:56 forrestsun 阅读(308) 评论(0) 推荐(0) 编辑
摘要: DataGridView.BackGroundImage按MSDN的说活是继承了IMAGE类,可是不知道你发现了没有当你新建立一个DataGridView后,你会发现你找不到BackGroundImage这个属性.当你按着MSDN的大小写写出 DataGridView.BackGroundImage=IMAGE.FORMFILE("C:\\AA.BMP"); 后并不会报错,但是就能运行试了N多种方... 阅读全文
posted @ 2006-03-28 22:00 forrestsun 阅读(439) 评论(0) 推荐(0) 编辑
摘要: 前两天在淘宝开了个小店,星期六终于所有藏书放了上去,没想到星期天一下买了两本,高兴ing 在这里我也要宣传下,呵呵算是对自己的庆祝吧,如果有你喜欢的书那我就更高兴了:) http://shop33528406.taobao.com/ 阅读全文
posted @ 2006-03-20 14:58 forrestsun 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Stopwatch类: 提供一组方法和属性,可用于准确地测量运行时间 Stopwatch myWatch = new Stopwatch(); myWatch.Start(); …代码段 myWatch.Stop(); Text1Box.Text="运行时间 " + myWatch.ElapsedMilliseconds.ToString() + " ms"; 读取数据库联接字... 阅读全文
posted @ 2006-03-10 12:06 forrestsun 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 微软提代的ASP.NET2.0空间,50M空间,30M的SQLSERVER2005空间,感兴趣的朋友赶紧吧:)我的正在破土动工中:) 阅读全文
posted @ 2006-02-21 22:50 forrestsun 阅读(538) 评论(4) 推荐(0) 编辑