Yesterday I thought I’d learn about the LinqDataSource in ASP.Net 3.5, and got an interesting surprise.
The new LinqDataSource can also be used with a LINQ-to-SQL model to perform updates. You simply add the DataSource to your page, set the table name, and set EnableUpdate to true. Then, using a standard DataControl, you can make updates [...]
Lesen Sie den vollständigen Eintrag unter http://richardbushnell.net/index.php/2008/02/21/the-linqdatasource-and-the-hidden-viewstate/