Browse by Tags

Using TableAdapters to Insert Related Data into an MS Access Database
14 May 09 05:48 PM
I’ve posted before about how to use TableAdapters to update parent-child (master-detail) relationships against SQL server. It’s pretty straightforward and Visual Studio generates all the code for you to properly insert, update and delete your data. However Read More...
Postedby Beth Massi | 41 Comments    
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    
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...
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    
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    
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 | 35 Comments    
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 | 31 Comments    
Attachment(s):MultiFormSample.zip
Binding Multiple Combo Boxes to the Same Data Source
19 September 07 11:03 AM
Recently the VB Team received a customer bug submitted through Connect that had to do with binding multiple combo boxes to the same data source. The customer was reporting that once a selection was made in one combo, the other combos were also changing. Read More...
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 | 23 Comments    
Attachment(s):PictureResizing.zip
Building a Secure Login Form (Parameterized Queries Part 2)
06 June 07 10:48 PM
In my first post on parameterized queries I built a simple login form that really was a contrived example meant to showcase how to use the TableAdapter Configuration Wizard to configure a parameterized query. However, since I opened myself up here, I Read More...
Postedby Beth Massi | 27 Comments    
Attachment(s):LoginClient.zip
Many-to-Many Data Binding
30 May 07 11:25 AM
In my Forms over Data videos series I show you how to create a one-to-many data entry form in video #3. Recently, I've had a few people ask how to create a form that displays a many-to-many relationship so I thought I'd post on how to do that today. You Read More...
Postedby Beth Massi | 27 Comments    
More Posts Next page »

This Blog

Syndication

Page view tracker