Browse by Tags

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 | 2 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 | 29 Comments    
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 | 38 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 | 14 Comments    
Related Data Binding and ComboBoxes with LINQ to SQL
06 February 08 02:07 PM
In a previous post I showed how to set up related data binding using ComboBoxes against DataSets and a loyal reader asked how this would be done using LINQ and Visual Studio 2008. I assume he meant LINQ to SQL in this case, because remember LINQ can be Read More...
Postedby Beth Massi | 23 Comments    
The New TableAdapterManager in Visual Studio 2008
07 January 08 07:41 PM
In my previous post on TableAdapters and Transactions I showed a couple techniques on how to perform hierarchical updates inside a transaction when you have multiple related DataTables in your DataSet. The example I gave here shows how to use database Read More...
Postedby Beth Massi | 28 Comments    
Quickly Import and Export Excel Data with LINQ to XML
30 October 07 08:00 PM
One really handy thing to do with relational data is to import and export it to Excel. This can be a total snap using LINQ to XML in Visual Basic 2008. For example, let's say I want to import data from an Excel spreadsheet into a local database file like Read More...
Postedby Beth Massi | 49 Comments    
Attachment(s):ImportExportExcel.zip
LINQ to SQL and One-To-Many Relationships
02 October 07 04:40 PM
Recently a customer sent me a question related to the video I posted on creating a one-to-many form with LINQ to SQL . In that video I use the Northwind database to set up a one-to-many association between the Customers and Orders entities. We all love Read More...
Postedby Beth Massi | 11 Comments    
Filed under: , , , ,
Using Data Across Multiple Windows Forms
01 October 07 11:11 AM
Recently I've had more than a few questions about how to handle working with data across multiple forms. If you've watched my Forms over Data video series you know how to create a database , connect to it , save your data properly , and work with data Read More...
Postedby Beth Massi | 14 Comments    
Attachment(s):MultiFormSample.zip
Resizing Images Stored in SQL-Server
28 August 07 11:35 AM
In SQL-Server we can store images inside database tables directly using the Image column type. And with .NET 2.0 data binding it can automatically convert these images (stored as byte arrays) into System.Drawing.Image classes for you. For instance, say Read More...
Postedby Beth Massi | 18 Comments    
Attachment(s):PictureResizing.zip
Metadata Programming and LINQ
24 July 07 08:44 PM
One of my favorite uses of LINQ is being able to query over metadata and use it to create flexible programs. Conversely, I also like to use LINQ to quickly create metadata about my objects. Metadata simply put is "data about data" or, for example, information Read More...
Postedby Beth Massi | 4 Comments    
Attachment(s):LINQMetaData1.zip
TableAdapters and Transactions
11 July 07 02:34 PM
In my last post I showed you how to save related parent-child DataTables in proper update, insert and delete order by controlling how the TableAdapters saved the rows. In this next post I'll demonstrate how we can do this inside a database transaction. Read More...
Postedby Beth Massi | 23 Comments    
More Posts Next page »

This Blog

Syndication

Page view tracker