This is a migrated thread and some comments may be shown as answers.

How to bind datas from 2 tables in one RadGrid?

1 Answer 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
JI
Top achievements
Rank 1
JI asked on 21 Oct 2010, 01:31 PM
I want to bind datas from 2 tables in one RadGrid.
When I use Gridiview, i realise it by the code in the file cs by using LinqToSql.
But I can't find example from the demos, they are all written in the page file
Is there anyone can give me some advices?

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 26 Oct 2010, 11:22 AM
Hello JI,

The GridView approach you follow should work for your RadGrid as well. However, I would suggest that you use the RadGrid's advanced data binding feature. For more information about LINQ To SQL binding, please review the following help article:

LINQ To SQL - binding and manual CRUD operations

I hope this helps.

Regards,
Martin
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
JI
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or