LINQDataSource - Query Multiple Tables?
Posted
by davemackey
on Stack Overflow
See other posts from Stack Overflow
or by davemackey
Published on 2010-05-15T04:05:43Z
Indexed on
2010/05/15
4:14 UTC
Read the original article
Hit count: 595
I have a database and I've created a DBML Linq-to-SQL file to represent this database. I've created a new aspx page and dropped a linqdatasource and a formview control onto it. When I configure the linqdatasource it gives me the choice only to select * from one table...but I want to pull from multiple tables. e.g. I have tables like simple_person, simple_address, simple_phone, and I want to pull from all of them. How can I accomplish this?
© Stack Overflow or respective owner