[VB.NET]用MyDataBase更新DataGridView上變動的資料

Introduction 這陣子碰到許多網友再問如何用Update更新資料到資料庫。為回答網友的提問,用MyDataBase偷懶的寫了一個範例程式。主要功能是把DataGridView上更動的資料寫回資料庫。在此隨手記錄一下。 ...

June 11, 2009 · 1 min · 196 words · Larry Nung

[Investment]議價18招攻防戰

Introduction 以下內容轉載自2009/5/16自由時報週末生活版。 ...

June 10, 2009 · 4 min · 1949 words · Larry Nung

[Software]快速清除SVN控管

在使用SVN做檔案控管時,SVN會在專案目錄下新增個.svn目錄。 ...

June 10, 2009 · 1 min · 154 words · Larry Nung

[.NET Resource][Visual Studio]Visual Studio 2010 Beta 1

Introduction Microsoft Visual Studio 2010 與 .NET Framework 4 是下一世代的軟體開發工具。 目前微軟已釋放出Bate版給程式設計師提前體驗,相關的網址整理如下,有興趣的可自行取用。 ...

June 9, 2009 · 1 min · 117 words · Larry Nung

[.NET Resource]Microsoft .NET Framework 4 Beta 1

Overview The Microsoft .NET Framework 4 provides the following new features and improvements:The .NET Framework 4 works side by side with the Framework version 3.5 SP1. Applications that are based on earlier versions of the Framework will continue to run on that version. Just a subset of functionality is shared by all versions of the Framework.Innovations in the Visual Basic and C# languages, for example statement lambdas, implicit line continuations, dynamic dispatch, and named/optional parameters.The ADO.NET Entity Framework, which simplifies how developers program against relational databases by raising the level of abstraction, has many new features. These includes persistence ignorance and POCO support, lazy loading, test-driven development support, functions in model, and new LINQ operators.Enhancements to ASP.NET: New JavaScript UI Templates and databinding capabilities for AJAX.New ASP.NET chart control.Improvements in WPF: Added support in Windows Presentation Foundation (WPF) for Windows 7 multi-touch, ribbon controls, and taskbar extensibility features.Added support in WPF for Surface 2.0 SDK.New line-of-business controls including charting control, smart edit, data grid, and others that improve the experience for developers who build data centric applications.Improvements in performance and scalability.Visual improvements in text clarity, layout pixel snapping, localization, and interoperability.Improvements to Windows Workflow (WF) that let developers to better host and interact with workflows. These include an improved activity programming model, an improved designer experience, a new flowchart modeling style, an expanded activity palette, workflow-rules integration, and new message correlation features. The .NET Framework also offers significant performance gains for WF-based workflows.Improvements to Windows Communication Foundation (WCF) such as support for WCF Workflow Services enabling workflow programs with messaging activities, correlation support, durable two-way communication and rich hosting capabilities. Additionally, .NET Framework 4 provides new WCF features such as service discovery, router service, simplified configuration and a number of improvements to queuing, REST support, diagnostics, and performance.Innovative new parallel programming features such as parallel loop support, Task Parallel Library (TPL), Parallel LINQ (PLINQ), and coordination data structures which let developers harness the power of multi-core processors. ...

June 9, 2009 · 2 min · 334 words · Larry Nung

[.NET Resource]Visual Studio 2010 and .NET Framework 4 Training Kit

Overview The Visual Studio 2010 and .NET Framework 4 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the Visual Studio 2010 features and a variety of framework technologies including:C# 4.0Visual Basic 10F#Parallel ExtensionsWindows Communication FoundationWindows WorkflowWindows Presentation FoundationASP.NET 4Entity FrameworkADO.NET Data ServicesManaged Extensibility FrameworkVisual Studio Team System This version of the Training Kit works with Visual Studio 2010 Beta 1 and .NET Framework 4 Beta 1. ...

June 9, 2009 · 1 min · 90 words · Larry Nung

[VB.NET]增加圖片亮度

Introduction 本篇的主旨在於介紹如何增加圖片的亮度。主要的作法就是把圖片上的每個像素的RGB值都增加相同的數值,當數值加完後超過255將以255替換。 ...

June 4, 2009 · 1 min · 79 words · Larry Nung

[C#][VB.NET]彩色濾鏡

Introduction 本篇的主旨在於介紹如何在圖片上加上彩色濾鏡。主要的作法就是把圖片上的每個像素值都只保留濾鏡的顏色,其餘顏色值都設為0。 ...

June 3, 2009 · 1 min · 93 words · Larry Nung

[C#][VB.NET]反轉圖片顏色

Introduction 本篇的主旨在於介紹如何反轉圖片的顏色。欲把圖片顏色反轉,我們只需把圖片上的每個像素的RGB值設為其與255的差值即可。 ...

June 3, 2009 · 1 min · 71 words · Larry Nung

[C#][VB.NET]彩色圖片轉為黑白圖片

Introduction 本篇的主旨在於介紹如何把圖片轉為黑白照片。欲把彩色圖片轉為黑白圖片,我們可以把圖片上的每個像素都設為灰階值。灰階值的取得可套用下面公式。 灰階值 = (R+G+B)/3 ...

June 3, 2009 · 1 min · 85 words · Larry Nung