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
  • Design Guidelines for LINQ

    Have you wondered if and when you should use the new LINQ features in .Net 3.5? Like, where should I put a new extension method? Should I use Func<T> or a custom delegate? How do I best implement a mix-in (extension methods on an interface)? Well, Mircea Trofin has just published a new draft...
    Erstellt in Richard's blog (Weblog) von Anonymous am 03-13-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
  • Using LinqPad to Create a Time-Selector Drop-Down List

    I am really getting into LINQ now! I think it’s fantastic. I recently wanted to develop a quick drop-down list in ASP.Net which allows a user to select a time of day from a list. The times are 15 minutes apart, so the list would look like this: … 08:00 08:15 08:30 08:45 09:00 … …...
    Erstellt in Richard's blog (Weblog) von Anonymous am 01-18-2008
  • Using Lambda Expressions with LINQ to SQL

    When using LINQ, you need to be careful to use the right kind of Lambda expression. “What, there is more than one kind?”, I hear you gasp. There sure is! And if you aren’t careful, you’ll get a nice little message at runtime to tell you: “System.Object DynamicInvoke(System...
    Erstellt in Richard's blog (Weblog) von Anonymous am 01-16-2008
  • Inserting into a Table with LINQ to SQL

    While creating a little project, I wanted to know how to insert an object into a table using LINQ to SQL. Using Intellisense it wasn’t obvious at all. Scott Guthrie wrote a post on how do it. Unfortunately, the method name has changed since he did it, so you need to call InsertOnSubmit on the Table...
    Erstellt in Richard's blog (Weblog) von Anonymous am 01-15-2008
Seite 1 von 1 (6 Treffer)
/