
C#
SVG
这个作者很懒,什么都没留下…
展开
-
猜一猜: Console.WriteLine(5000.88 + 5000 == 10000.88); 结果为True还是False?
By Ben致命的错误出现在一个项目实践中: Console.WriteLine(5000.88 + 5000 == 10000.88);结果为False分析: 用"=="来比较两个double应该相等的类型,返回真值完全是不确定的。计算机对浮点数的进行计算的原理是只保证必要精度内正确即可,例如:double a=0.9+0.2;那么只能保证小数点后1位这个精度是正确的原创 2004-10-10 14:24:00 · 3272 阅读 · 1 评论 -
Using a Custom Action to Create a Database During Installation
From http://msdn.microsoft.com/libraryThe following walkthrough demonstrates the use of a custom action and the CustomActionData property to create a database and database table during installatio原创 2004-10-11 00:23:00 · 3059 阅读 · 0 评论 -
Reporting Service for SQL server 2000预览研究
By BenReporting Service + SP1 for SQL server 2000预览研究环境: WinXP, SQL Server 2000 + SP3A, .Net 1.1附件: (下载附件)Project: Reporting Service 报表设计的Project Setup: 报表程序发布安装程序原创 2004-11-24 09:47:00 · 6500 阅读 · 3 评论 -
User Interface Process(UIP) Application Block 2.0 研究总结
By BenUser Interface Process (UIP) Application Block - Version 2.0 环境: WinXP, SQL Server 2000 + SP3A, .Net 1.1, UIP 2.0研究思路: 1. 了解熟悉UIP和它的架构2. 安装UIP3. 研究demo, 了解UIP实际意义4. 完成UIP应用的h原创 2004-12-02 10:22:00 · 6074 阅读 · 1 评论 -
Authorization and Profile Application Block 1.0研究总结
By BenAuthorization and Profile Application Block 1.0研究报告1. 课题简介利用WindowsPrincipal或GenericPrincipal可以实现验证授权. 但权限只能分到角色. 利用Authorization and Profile Application Block 1.0 不仅有效实现权限分配到角色, 更能分原创 2004-12-09 16:26:00 · 5413 阅读 · 7 评论