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...
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...
Tally Rows in a DataSet that Match a Condition
27 April 09 07:24 PM
Today I got a question that comes up often in data application programming about how to count rows in a DataSet that matched a condition. The DataSet may be bound to a DataGridView or other list control and it’s tempting to start looking at the control Read More...
Postedby Beth Massi | 8 Comments    
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...
Community Article: Scaling ADO.NET DataTables
17 December 08 12:43 PM
We just released a new community article onto the Visual Basic Developer Center by one of our MVPs, Jeff Certain , called Scaling ADO.NET DataTables . In this article Jeff shows shows us how to query and aggregate data using the built in DataTable methods Read More...
Postedby Beth Massi | 1 Comments    
Editing Data from Two Tables in a Single DataGridView
15 October 08 06:31 PM
I've had a lot of questions lately on how to display data from two separate tables in the database into a single DataGridView for editing. It sure would be nice if all our data was in a single table, but in reality most of the time it's not. Basically Read More...
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    
Data on the Smart Client Talk at Bay.NET UG
21 August 08 01:48 PM
Last night I spoke to SF Bay.NET user's group on Data Binding in Winforms and WPF, focusing on Line-of-Business (LOB) application scenarios. I showed how you can use the same data sources with Winforms and WPF, walking through binding scenarios with DataSets, Read More...
Postedby Beth Massi | 6 Comments    
LINQ to SQL N-Tier Smart Client - Part 3 Database Transactions
16 April 08 12:03 PM
In my previous posts this week I showed how to build a simple distributed application with a Windows client, a WCF hosted middle-tier and a data access layer that used LINQ to SQL: LINQ to SQL N-Tier Smart Client - Part 1 Building the Middle-Tier LINQ Read More...
LINQ to SQL N-Tier Smart Client - Part 2 Building the Client
14 April 08 11:03 AM
In my last post we built the service and data access layer for our LINQ to SQL N-Tier application. In this post we'll walk through building a very simple Windows client form that works with our middle-tier. Adding the Service Reference Now that we have Read More...
LINQ to SQL N-Tier Smart Client - Part 1 Building the Middle-Tier
12 April 08 09:01 AM
In my previous posts on LINQ to SQL I showed how to build LINQ to SQL classes and set up the data binding in your Windows applications. If you missed them: Related Data Binding and ComboBoxes with LINQ to SQL Creating Lookup Lists with LINQ to SQL One-To-Many Read More...
Simple Validation with LINQ to SQL Classes
25 February 08 05:04 PM
In the last few posts on LINQ to SQL I've showed how to set up an object model using the O/R designer and how to handle a couple data binding scenarios with Comboboxes here and here . Last post on this topic we implemented a one-to-many data entry form Read More...
Postedby Beth Massi | 49 Comments    
Support for SQL 2008 Data Types Coming into LINQ to SQL
22 February 08 05:22 PM
Check it out, on the ADO.NET Team blog Faisal Mohamood, a PM on the LINQ to SQL team, posted on the new features you can expect to see added to LINQ to SQL. This includes support for new data types coming in SQL 2008. Enjoy! Read More...
Postedby Beth Massi | 3 Comments    
Filed under: , , ,
One-To-Many (Master-Detail) Forms with LINQ to SQL
19 February 08 03:11 PM
In previous posts this month I showed how to use LINQ to SQL classes with a couple different Combobox data binding scenarios. (You can read those articles here and here .) Today I'm going to show you how to create a one-to-many data entry form (and we'll Read More...
Postedby Beth Massi | 61 Comments    
Creating Lookup Lists with LINQ to SQL
07 February 08 09:00 AM
In yesterday's post I showed you how to bind LINQ to SQL classes to a Combobox in order to filter records on a one-to-many form. Today I want to show you how how you can use a Combobox as a lookup list in order to edit values on a record. We'll be building Read More...
Postedby Beth Massi | 23 Comments    
More Posts Next page »

This Blog

Syndication

Page view tracker