LINQDataSource - Query Multiple Tables?

后端 未结 1 1719
温柔的废话
温柔的废话 2021-01-21 01:59

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

1条回答
  •  走了就别回头了
    2021-01-21 02:19

    Use a custom query

    http://weblogs.asp.net/scottgu/archive/2007/09/07/linq-to-sql-part-9-using-a-custom-linq-expression-with-the-lt-asp-linqdatasource-gt-control.aspx

    See: Using the  Selecting Event
    

    0 讨论(0)
提交回复
热议问题