LINQDataSource – Query Multiple Tables?

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?

Entities’ does not contain a constructor that takes 1 arguments

public class Connection { public static string GetConecction() { return ConfigurationManager.ConnectionStrings["DCAssetEntities"].ConnectionString; } } I have one “connection” class to configure my web with Entity framework model Entities public class ConnectionDAL { private DCAssetEntities db; public ConnectionDAL() { db = new DCAssetEntities(Connection.GetConecction()); } } then I intialize my database in “ConnectionDAL” class constructor,, It’s working good … Read more