Browse by Tags

Using the WPF ObservableCollection with EF Entities
08 May 09 03:29 PM
The ObservableCollection is a special WPF collection that provides proper notifications to the UI when items are added, removed, or the list is refreshed because it implements INotifyCollectionChanged . It’s common to use this collection (or inherit from Read More...
Notifying the UI when Entity References Change in Lookup Comboboxes
04 May 09 07:51 PM
Last week I wrote about how to data bind WPF lookup comboboxes to entities returned from the Entity Framework. I described that the key to this type of binding is setting the SelectedItem to the object reference itself on the navigation property instead Read More...
Data Binding WPF Lookup Combobox Values to EF Entities
30 April 09 07:57 AM
It’s extremely common to have to hook up lookup tables on your data entry forms in order to populate foreign keys in a database. I’ve talked about how to do this in Winforms and WPF with Datasets and LINQ to SQL before: How Do I: Create a Lookup Combobox Read More...
OBA Part 4 - Building an Excel Client against LOB Data
08 March 09 03:45 PM
In my last few app building posts we've been building a simple Office Business Application (OBA) for the new Northwind Traders. If you missed them: OBA Part 1 - Exposing Line-of-Business Data OBA Part 2 - Building and Outlook Client against LOB Data OBA Read More...
OBA Part 2 - Building an Outlook Client against LOB Data
07 February 09 02:36 PM
In the last couple posts we've been talking about an Office Business Application (OBA) architecture for the new Northwind Traders and how to expose line-of-business (LOB) data , in our case the Northwind SQL database, using ADO.NET Data Services . Today Read More...
ADO.NET Data Services - Intercepting Queries and Adding Validation
21 January 09 08:53 PM
Last few posts I've been building a WPF client against ADO.NET Data Services, if you missed them: Using ADO.NET Data Services ADO.NET Data Services - Building a WPF Client ADO.NET Data Services - Enforcing FK Associations and a Fix for Deleting Entities Read More...
ADO.NET Data Services - Building a WPF Client
15 January 09 08:30 PM
In my last post I introduced ADO.NET Data Services and how you can easily expose your data model via RESTful services that support the basic CRUD (Create,Retrieve,Update,Delete) operations. Basic CRUD database operations map well to the familiar HTTP Read More...
Formatting Data in WPF Controls
12 December 08 04:32 PM
One of the basic things that we need to do as business application developers is to make sure that data being displayed to a user makes sense to them and that they know what type of data something is when they are making edits. In every business application Read More...
Postedby Beth Massi | 18 Comments    
Loading Data and Binding Controls in WPF with CollectionViewSource
07 November 08 09:47 AM
When designing WPF Windows with data (or as I usually refer to them WPF "Forms") we have many options on how we want to load the data and bind our controls. Depending on where the data is coming from and how it's being used there are a lot of Read More...
Postedby Beth Massi | 10 Comments    
MSDN Magazine - Dynamic Data Entry With XML Literals
01 October 08 06:49 PM
Check out the latest news on the VB Dev Center . I'm finally headlining myself ;-) I'm in the October issue of MSDN Magazine . I've been managing the content for the Basic Instincts column for a little over a year now where we rotate writers from the Read More...
Postedby Beth Massi | 11 Comments    
Editing Tabular Data in WPF - Building a WPF Grid
15 September 08 07:12 PM
In my last post on WPF I showed how you could use a Winforms DataGridView on a WPF form in order to edit data in a tabular style. Today I'll show you how you can customize the WPF ListView in order to edit data without having to use any Winforms controls Read More...
Postedby Beth Massi | 16 Comments    
Editing Tabular Data in WPF Using the Winforms DataGridView
04 September 08 04:09 PM
A pretty common requirement of any business application is to be able to edit data in a "spreadsheet" or tabular style. Usually we use some sort of data grid to do this. When building WPF applications in Visual Studio 2008 you'll notice right away that Read More...
Postedby Beth Massi | 6 Comments    
Better Data Editing Features in WPF with SP1
19 August 08 08:09 PM
One of the things I was really missing from WPF when I started to dig into data binding was feature consistency between the BindingListCollectionView and the Winforms BindingSource I had grown to love. The BindingListCollectionView provides the navigation, Read More...
Postedby Beth Massi | 23 Comments    
Displaying Data Validation Messages in WPF
27 June 08 03:57 PM
As you can probably tell from my last couple posts I've been working with WPF in different data scenarios. Yesterday I was playing with data validation in WPF and .NET 3.5 which is pretty slick. In this article I'll walk through how to hook up validation Read More...
Postedby Beth Massi | 17 Comments    
Dynamic Data Entry with WPF and LINQ
24 June 08 03:29 PM
In my last post on this subject I explored creating WPF UI's dynamically using XML literals. The one part that bugged me a bit was that even though the UI was dynamic, we were using a fixed object model of our customer (using LINQ to SQL classes). I wanted Read More...
Postedby Beth Massi | 21 Comments    
More Posts Next page »
Page view tracker