上一页 1 ··· 252 253 254 255 256 257 258 259 260 ··· 313 下一页
摘要: 在需要对程序的执行时间进行精准测试的程序员,不妨使用.Net提供的Stopwatch类,它的命名空间是:System.Diagnostics 代码如下: using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; namespace StopWatch { class Program { static void Main(string[] args) { Stopwatch sw = new Stopwatch(); sw.Start(); //这里填写要执行的代码 s 阅读全文
posted @ 2010-12-06 22:19 emanlee 阅读(406) 评论(0) 推荐(1)
摘要: 严重问题: Visual Studio 2008 无法切换到设计视图,一切换就卡死了(Not Responding) VSTS中英文版本都有这个问题。 阅读全文
posted @ 2010-11-15 10:53 emanlee 阅读(428) 评论(2) 推荐(0)
摘要: C#这样读取Excel日期时有问题: Excel.ApplicationClass excel=new Excel.ApplicationClass(); excel.Application.Workbooks.Open(@"E:\MFGP\ar20061220.xls",new object[]{3} ,new object[]{false},new object[]{5}... 阅读全文
posted @ 2010-11-14 23:30 emanlee 阅读(9560) 评论(1) 推荐(1)
摘要: Server Error in '/Web' Application.Error converting data type nvarchar to int.Description: An unhandled exception occurred during the execution of the... 阅读全文
posted @ 2010-11-13 22:26 emanlee 阅读(2298) 评论(0) 推荐(0)
摘要: I have code that selects - find and select - 1 item in a large listbox. This works Ok but most of the time the selected item isn't visible without scrolling down manualy. Is this possible by code? --... 阅读全文
posted @ 2010-11-11 11:40 emanlee 阅读(665) 评论(0) 推荐(0)
摘要: 1、格式化货币(跟系统的环境有关,中文系统默认格式化人民币,英文系统格式化美元) string.Format("{0:C}",0.2) 结果为:¥0.20 (英文操作系统结果:$0.20) 默认格式化小数点后面保留两位小数,如果需要保留一位或者更多,可以指定位数 string.Format("{0:C1}",23.15) 结果为:¥23.2 (截取会自动... 阅读全文
posted @ 2010-11-10 22:35 emanlee 阅读(15223) 评论(0) 推荐(3)
摘要: 解决方案    一、利用工具软件DRMGUI    下载 DRMGUI v 1.1.2.1    地址:http://www.zdnet.com.cn/download/windows/personal/swinfo/0,2008005288,39250677s,00.htm    安装:一路确定,安装完毕。 ... 阅读全文
posted @ 2010-11-07 21:43 emanlee 阅读(7560) 评论(0) 推荐(0)
摘要: 找不到visual studio模板信息 解决方法 菜单->Tools->option->projects & Solutions-> 将 "Visual Studio user project templates location" 指向 前面是安vs安装目录,可填自己的安装目录 "X:\Program Files\Microsoft... 阅读全文
posted @ 2010-11-07 13:23 emanlee 阅读(331) 评论(0) 推荐(0)
摘要: 手动卸载 SQL Server 2005 Express由于在“安装删除程序”里有关SQL Server 2005 Express的组件有数个,如果顺序不对可能会出现错误,我按照以下顺序卸载成功,现分享给大家。SQL Server Management Studio Express 组件。 SQL ... 阅读全文
posted @ 2010-11-04 08:57 emanlee 阅读(7480) 评论(0) 推荐(0)
摘要: 表1 基本COCOMO系数表方式ab有机2.41.05半有机3.01.12嵌入式3.61.2表2 中等COCOMO系数表方式ab有机3.21.05半有机3.01.12嵌入式2.81.2http://en.wikipedia.org/wiki/COCOMO 阅读全文
posted @ 2010-11-03 20:02 emanlee 阅读(1939) 评论(0) 推荐(0)
上一页 1 ··· 252 253 254 255 256 257 258 259 260 ··· 313 下一页