一、标准的日期或时间格式字符串 标准日期和时间格式字符串包含单个字符。 此字符定义用于表示值的模式 (是否以及如何显示年份数、月份数等)。 下表给出了最常用的设置。 请参阅 MSDN 的 标准日期和时间格式字符串 主题获取完整列表。格式说明符说明示例输出d短日期模式3/12/2003D长日期模式Wednesday, March 12, 2003t短时间模式12:00 AMT长时间模式12:00:00 AMf完整日期/时间模式(短时间)Wednesday, March 12, 2003 12:00 AMF完整日期/时间模式(长时间)Wednesday, March 12, 2003 12:00: Read More
posted @ 2012-08-31 17:28
C#老头子
Views(6358)
Comments(0)
Diggs(0)
该文被密码保护。 Read More
posted @ 2012-08-31 17:08
C#老头子
Views(1)
Comments(0)
Diggs(0)
在实战中,除了用GridView.RowStyle事件来实现如改变行的背景色外,还可以用GridView.FormatConditions来实现,如下面的代码所示,using DevExpress.XtraGrid;StyleFormatCondition condition1 = new DevExpress.XtraGrid.StyleFormatCondition();condition1.Appearance.BackColor = Color.SeaShell;condition1.Appearance.Options.UseBackColor = true;condition1.C Read More
posted @ 2012-08-31 10:16
C#老头子
Views(1746)
Comments(0)
Diggs(0)
一、 XP系统的1.开始——运行——输入cmd——回车——在打开的窗口中输入net stop WuAuServ2.开始——运行——输入%windir%3.在打开的窗口中有个文件夹叫SoftwareDistribution,把它重命名为SDold4.开始——运行——输入cmd——回车——在打开的窗口中输入net start WuAuServ第二步:1.开始——运行——输入regedit——回车2.找到注册表,HKEY_LOCAL_MACHINE\SOFWARE\Microsoft\Internet Explorer\MAIN子键,点击main后,在上面菜单中找到“编辑”--“权限”,点击后就会出 Read More
posted @ 2012-08-31 09:49
C#老头子
Views(4922)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号