in
tri
home of the trivadians

Nach Ordnungsbegriffen durchsuchen

  • Easy Data-loading with LINQ-to-SQL and LINQ-to-XML

    .Net 3.5 had some nice tricks in it. LINQ-to-XML was one of them. With the new "X"-types, you can make working with XML really easy. VB.Net 9 takes it one step further, and lets you write XML in your code without strings. "Hey Rich, that’s old news," I hear you say. "And who’s...
    Erstellt in Richard's blog (Weblog) von Anonymous am 03-20-2008
  • The LinqDataSource and the Hidden Viewstate

    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...
    Erstellt in Richard's blog (Weblog) von Anonymous am 02-21-2008
  • How to Update Data with LINQ-to-SQL

    When learning LINQ-to-SQL, it’s not immediately obvious how to do an update. Querying is easy, and there are methods for inserting and deleting. Updating usually occurs by modifying an object already known to the DataContext and then calling SubmitChanges on the context. var product = (from p in...
    Erstellt in Richard's blog (Weblog) von Anonymous am 02-18-2008
Seite 1 von 1 (3 Treffer)
/