Be a programmer

Live with passion....
  首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2006年6月7日

摘要: DownloadYou can download the code from here: DataProvider.rar.You'll get all the classes used before, including: DataProviderBase.cs ITransactionSupport.cs SqlConnectionHolder.cs SqlDataProviderBa... 阅读全文

posted @ 2006-06-07 11:21 Programmer 阅读(532) 评论(0) 推荐(0) 编辑

摘要: SqlCommand.ExecuteReader & ParameterDirection.ReturnValueI've made a great mistake when using the SqlCommand.ExecuteReader method. As we know, the ParameterDirection.ReturnValue parameters cannot ... 阅读全文

posted @ 2006-06-07 09:55 Programmer 阅读(1768) 评论(4) 推荐(0) 编辑

2006年4月20日

摘要: SQL implementation of DataProviderBase: SqlDataProviderBaseThe SQLDataProviderBase class inherits from DataProviderBase class. It greatly simplifies program code required by a Microsoft SQL Server ope... 阅读全文

posted @ 2006-04-20 16:39 Programmer 阅读(791) 评论(3) 推荐(0) 编辑

摘要: The provider model is used throughout ASP.NET 2.0. It is a means of writing each of the technologies used so that new versions can easily be created and plugged in. For example, if you need to access ... 阅读全文

posted @ 2006-04-20 16:23 Programmer 阅读(1395) 评论(1) 推荐(0) 编辑

2006年4月10日

摘要: I developed a web application that uses SQL Server 2000 as the data store. It worked fine. However, when trying to debug the code to track down an error, I got exceptions:EXECUTE permission denied on ... 阅读全文

posted @ 2006-04-10 13:37 Programmer 阅读(2122) 评论(0) 推荐(0) 编辑

2006年4月9日

摘要: Download the code for this article: WinForm-Multilanguages-2.rar (11 KB).方法二:下面介绍一种只需对现有代码做较小改动的方法。在 Visual Studio 的设计视图中,如果在 Properties 窗口中改变了程序的默认界面语言(Language),我们会注意到无论是工程还是窗体对应的 .Designer.cs 文件都会有... 阅读全文

posted @ 2006-04-09 13:41 Programmer 阅读(4873) 评论(12) 推荐(0) 编辑

2006年4月5日

摘要: If anyone would like a Gmail invitation, or a Yahoo! 360 one, please leave in this thread your email address or send me an email. I'll send one out as soon as possible.What is Gmail? Gmail is an exper... 阅读全文

posted @ 2006-04-05 12:23 Programmer 阅读(491) 评论(6) 推荐(0) 编辑

2006年3月4日

摘要: 为我们的程序添加日志功能,使用 .net framework 中的 EventLog 类应该是一个不错的选择。在 .net framework 2.0 中,microsoft 又进一步丰富了 EventLog 类,使我们操作 windows 中的事件日志更方便。在操作事件源的时候,EventLog 类提供了三个方法:CreateEventSource, DeleteEventSource, Sou... 阅读全文

posted @ 2006-03-04 21:13 Programmer 阅读(1730) 评论(0) 推荐(0) 编辑

摘要: 使用 .net 开发一个支持多语言的 WinForm 应用程序是很方便的。特别是在 .net framework 2.0 中,Visual Studio 2005 做了进一步的改进。它默认地为每个资源文件(.resx)添加一个叫 ResXFileCodeGenerator 的自定义工具来简化读取资源的操作。我们常用的一些软件,比如 BitComet、Skype 等都可以在菜单中设置界面显示的语言。... 阅读全文

posted @ 2006-03-04 19:48 Programmer 阅读(3107) 评论(3) 推荐(0) 编辑

2006年3月2日

摘要: Ajax 是现在 web 开发技术中的最炙手可热的技术之一。它为我们程序员提供了一种新的 web 应用程序开发模式,也给网页的访问者提供了一种全新的上网体验。我想也正是因为 ajax 的诸多优点,Microsoft 在发布了 asp.net 2.0 后又争对 ajax 启动了一个名为 Atlas 的项目。 然而,在 IE 浏览器(我使用的版本是 IE 6.0)中使用 ajax 的时候,不幸的是会出... 阅读全文

posted @ 2006-03-02 16:19 Programmer 阅读(1940) 评论(5) 推荐(0) 编辑