心 涯

NET&JAVA&PHP(要跨界,你不只要跨「脑」的界限,更要跨越「心」的界限,不怕改变,不怕再学习!)

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2007年10月14日

摘要: // To play a File from a disk locaiton Dim objPlayer As New SoundPlayer objPlayer.SoundLocation = "C:\Alert.wav" objPlayer.Play() // To play a File from applcation as embedded resouce Dim objPlayer A... 阅读全文
posted @ 2007-10-14 23:50 witer666 阅读(305) 评论(0) 推荐(0) 编辑

2007年10月13日

摘要: 1 using System; 2 using System.Data; 3 using System.Configuration; 4 using System.Collections; 5 using System.Web; 6 using System.Web.Security; 7 using System.Web.UI; ... 阅读全文
posted @ 2007-10-13 23:28 witer666 阅读(277) 评论(0) 推荐(0) 编辑

2007年10月12日

摘要: 今天下午在看C#3.0编码规范,看到一些自己不明白比较模糊的代码,特发上来珍藏,这些代码有时候还是比较有用的. class @class { public static void @static(bool @bool) { if (@bool) System.Console.WriteLine("true"); else System.Console.Writ... 阅读全文
posted @ 2007-10-12 16:08 witer666 阅读(387) 评论(0) 推荐(0) 编辑

摘要: Category Bits Type Range/Precision ... 阅读全文
posted @ 2007-10-12 14:34 witer666 阅读(367) 评论(0) 推荐(0) 编辑

摘要: There are two kinds of types in C#: value types and reference types. Variables of value types directly contain their data whereas variables of reference types store references to their data, t... 阅读全文
posted @ 2007-10-12 14:29 witer666 阅读(376) 评论(0) 推荐(0) 编辑

2007年10月11日

摘要: Web 窗体组件 InnerWorkings 开发的 ASP.NET 2.0 Security InnerWorkings 提供了七小时的编码实战演习,以帮助开发人员学习和实现 ASP.NET 2.0 中可用的新安全功能并保护 Web 应用程序免受攻击。 ... 阅读全文
posted @ 2007-10-11 18:02 witer666 阅读(12504) 评论(0) 推荐(1) 编辑

摘要: ASP.NET Community Find technical information, forums, a gallery of sample code, tutorials, source code projects, and more resources on the premier c... 阅读全文
posted @ 2007-10-11 18:00 witer666 阅读(542) 评论(0) 推荐(0) 编辑

摘要: 基本下载链接 让我们首先来解决缺失链接的问题。如果您不知道某文件的路径将是什么,您只需稍后从数据库中拉出链接列表即可。您甚至可以通过在运行时于给定的目录中枚举文件来动态建立链接列表。这里我将探讨第二种方法。 假设我在 Visual Basic® 2005 中建立一个 DataGrid,并在其中填入指向下载目录中所有文件的链接,如图1 所示。要完成此操作,可先在页面内使用 Server.Ma... 阅读全文
posted @ 2007-10-11 13:28 witer666 阅读(2035) 评论(0) 推荐(1) 编辑

2007年10月10日

摘要: B/S平台下的MIS软件,打印是不可缺少的功能,好的报表输出,能让你的产品在用户的心中增加不少的分量。但是打印模块所花的时间也是非常的多的。其实现方式有如下几种: 1、使用Crystal Report等通用报表组件来完成。 优点:功能强大,对于CS/BS都可以通用,Crystal Report等甚至与还有Report Service等功能,对于业务流程非常复杂的大项目应该是... 阅读全文
posted @ 2007-10-10 22:52 witer666 阅读(540) 评论(1) 推荐(0) 编辑

摘要: Scott Guthrie在ALT.NET会议中展示了ASP.NET MVC Framework,它的CTP版本将于今年年底放出。 这个框架将支持以下特性: 为Controller提供原生的TDD模型支持 支持ASPX作为一种视图引擎(没有ViewState和Postback) 提供接口以使用其他的视图引擎,如MonoRail 提供对Controlle... 阅读全文
posted @ 2007-10-10 22:44 witer666 阅读(223) 评论(0) 推荐(0) 编辑