(Mahesh Chand) A PrintDialog control is used to open the Windows Print Dialog and let user select the printer, set printer and paper properties and print a file. A typical Open File Dialog looks like Figure 1 where you select a printer from available printers, set printer properties, set print range
Tag: Development
How to save and retrieve Images using LINQ to SQL with SQL Compact
(Erik Ejlskov Jensen) The code below demonstrates several features of working with System.Drawing.Image object together with LINQ to SQL, which maps a byte[] to the System.Data.Linq.Binary type.
WPF ListView with Value Converter Example
(Ged Mead) I’ve written several blogs about WPF ListViews, and somebody who’s been trying to use them contacted me recently and asked if I’d post up an example project to help them spot where they were going wrong. So this is it. The remainder of this blog is an overview of the sample project. If y
Increase LINQ performance with a few .NET tricks.
(HaymakerAJW) This article will show how you can drastically increase the performance of LINQ using simple to intermediate C#.
Defining Descriptive Text for Enumeration Members
(Scott Mitchell) An enumeration is a special type in the .NET Framework that is comprised of a number of named constants. While you might not have created an enumeration type yourself, you have likely used enumerations many times in day-to-day programming. For example, the rows in a GridView have a
Extending Client-Side Programming in ASP.NET 4
(Peter Vogel) The first half of 2010 has seen tremendous change for ASP.NET client-side developers: the Microsoft commitment to jQuery at MIX10, the implementation of the Content Delivery Network (CDN), and the release of both Visual Studio 2010 and the Microsoft .NET Framework 4. Tracking these cha
Named Arguments In ColdFusion Depend On The Argument Collection, Not The CFArgument Tags
(Ben Nadel) Last night, I was laying in bed thinking about Jenna Elfman in Can’t Hardly Wait (one of the best coming-of-age movies ever), when suddenly, I started thinking about named arguments in ColdFusion. I know I’ve probably covered this a number of times before but, I wanted to test the behavi
Introducing ASP.NET MVC 3 (Preview 1)
(Scott Guthrie) This morning we posted the “Preview 1” release of ASP.NET MVC 3. You can download it here.
MessageBox in C#
(Mahesh Chand) MessageBox control displays a message with specified text. A message box may have some additional options including a caption, icon, and help buttons. In this article, I will discuss how to use the MessageBox class to display messages in Windows Forms and C#.
Loading WCF Data Services Ajax Script Library
(Gil Fink) Since I’ve given sessions about WCF Data Services in the past (when they were called ADO.NET Data Services) I wanted to reuse some of the Ajax examples I showed for my coming OData session. One of the things that have been changed lately were the scripts to use when you want to make Aja
