Bind to Linq to Sql

Hello,
I tried different binding method with you gridview and i was able to make it work.
I'd like to see a sample project(wpf web project) using this scenario:
objectdataprovider using as datacontext a linqtosql class with the ability to update , delete and insert.

Thanks
Regards

Milan

I've created a sample project for you that demonstrates how to use LinqToSql with our RadGridView control.
I've chosen to create the sample project as a standard WPF application since the limitations of Xbap applications would have made the sample too complicated and cumbersome to understand. The are quite a few comments in the sample that should aid you to quickly understand how to implement CRUD functionality using our grid control.

Hope this helps.

All the best,
Milan
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.

I could not get this project to work. I am using 2009 Q2, not sure if this is why it is failing.

I to need a sample of a WPF app showing how to bind to a table in an SQL database also allowing inserts, update and deletes.

I have tried a number of methods to achieve this but they seem very long winded or I just could not get them to work.

Your sample looks very light from a code so would be keen to get this going to see how it works.

Cheers in advance...

Kevin.

PS. The errors I am getting are:

Error 1 The type or namespace name 'UI' does not exist in the namespace 'Telerik.Windows.Controls' (are you missing an assembly reference?) C:\Work\Temp\096083_LinqToSql\LinqToSql\LinqToSql\Window1.xaml.cs 89 84 LinqToSql

Error 2 The type or namespace name 'UI' does not exist in the namespace 'Telerik.Windows.Controls' (are you missing an assembly reference?) C:\Work\Temp\096083_LinqToSql\LinqToSql\LinqToSql\Window1.xaml.cs 104 85 LinqToSql

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.