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    
Accessing Open XML Document Parts with the Open XML SDK
30 July 08 07:30 PM
About a month ago the Open XML SDK 1.0 (June 08 update) was released . The SDK provides strongly typed document part access to Word 2007, Excel 2007 and PowerPoint 2007 documents. The SDK has been a CTP for a while, but last month version 1.0 was finally Read More...
Postedby Beth Massi | 4 Comments    
Article: Sharpening Your Axis with Visual Basic 9
30 June 08 02:12 PM
In the July/August issue of CoDe Magazine there's an article I wrote with Avner Aharoni (the Program Manager on XML literals) called Sharpening Your Axis with Visual Basic 9 . (They just opened up online access to even non-subscribers today!) I highly Read More...
Postedby Beth Massi | 2 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    
Dynamic UI with WPF and LINQ
12 June 08 04:51 PM
Lately I've been getting my hands deep into WPF with my line-of-business (LOB)/data-based application mind set. I'm taking a different approach to the technology resisting the urge to put on my amateur-designer hat and instead purely focus on data, data-binding, Read More...
Postedby Beth Massi | 42 Comments    
Quickly Changing Values of XML Elements Using LINQ
09 May 08 06:33 PM
I've had many questions lately on how you can query for a specific node in an XML document (or fragment) and change it's value using LINQ. (This must mean that people are really starting to use this stuff so I'm pretty excited.) This is really easy to Read More...
Postedby Beth Massi | 10 Comments    
Querying HTML with LINQ to XML
25 April 08 04:00 PM
Often times we need to parse HTML for data. Sure in a perfect world everything would have a nice service or API wrapped around it but as we all know this is not always the case. Many times we're left with parsing files or "screen scraping" to get the Read More...
Postedby Beth Massi | 13 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...
More Posts Next page »
Page view tracker