Search Wiki:
French, German, Italian, Japanese, Korean, Russian, Simplified Chinese, Spanish, Traditional Chinese

There are two samples included here:

The first sample demonstrates how to create a WPF Forms solution that checks user input with validation code, demonstrates common controls such as DataGrid and ComboBox, and shows typical data manipulation including create, read, update, and delete.

The second sample demonstrates how to create a Silverlight application that is bound to data coming from an ADO .NET Data Service.

Both samples are available in Visual Basic and C# and are intended for use with Visual Studio 2010.


Download WPF Samples
Download Silverlight Samples

NOTE: The Silverlight samples use the AdventureWorksLT database. Install the database first before running the sample. You can download the database here.
Last edited Aug 6 2010 at 7:34 PM  by ddicpe, version 8
Comments
renasis wrote  Mar 24 2010 at 1:44 AM  
Hello,

I was trying to unzip the vb wpf samples and kept getting a message box for the password. I wasn't able extract all the files from the zip. Can you remove this security feature or provide the password.

Thanks,

-ren

BethMassi wrote  Apr 12 2010 at 5:46 PM  
Hi Ren,

I refreshed the downloads and tested to make sure there was no password required. Please try again.

Thanks!

sebdieu wrote  Jul 19 2010 at 7:20 AM  
Hi, I tried to run this on Vista and had problem as I do not have my MSSS2008 Express database created yet at
C:\Users\milindl\Documents\SQL2K Databases\SQL2008.AdventureWorksLT2008_Only_Database\AdventureWorksLT.mdf
Any advise where I could rebuild or run the T-SQL scripts from ?????
Many Thanks in Advance
...
connectionString="metadata=res://*/AdventureWorksDataModel.csdl|res://*/AdventureWorksDataModel.ssdl|res://*/AdventureWorksDataModel.msl;provider=System.Data.SqlClient;provider connection string='Data Source=local;AttachDbFilename="C:\Users\milindl\Documents\SQL2K Databases\SQL2008.AdventureWorksLT2008_Only_Database\AdventureWorksLT.mdf";Integrated Security=True;Connect Timeout=30;User Instance=True;MultipleActiveResultSets=True'"

Updating...
Page view tracker