MSDN Archive Home
Help and FAQs
Data Entry with LINQ to SQL
All Resource Updates
Change History (all pages)
This sample walks through how to use the new LINQ to SQL classes on your data-entry Windows Forms. One form that demonstrates Combobox filtering uses the Northwind database. The One-to-Many form uses a sample SQL 2005 Express database that is included. That form demonstrates how to properly update, insert and delete records and how to configure the LINQ to SQL classes so that they use stored procs for their update, insert and delete behaviors. It also demonstrates how to add validation messages to the LINQ to SQL classes and have them automatically display in the UI with the ErrorProvider.
Download the code!
Articles that go with this sample:
Related Data Binding and ComboBoxes with LINQ to SQL
Creating Lookup Lists with LINQ to SQL
One-To-Many (Master-Detail) Forms with LINQ to SQL
Simple Validation with LINQ to SQL Classes
This sample uses a local SQL database. Make sure you
read this article
if you are having problems working with the database.
Feb 26 2008 at 5:53 AM
, version 6
Sign in to add a comment
Data Entry with LINQ t...
Mon Feb 25 2008 at 8:00 AM
More Tags ...
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
Manage Your Profile
MSDN Flash Newsletter
© 2008 Microsoft Corporation. All rights reserved.