Video: First Look at Visual Studio .NET 2008 and the LinqDataSource

Visual Studio .NET 2008 provides many new features that will definitely enhance developer productivity.  In this video tutorial I provide an introductory look at VS.NET 2008 and show a few features such as multi-targeting, split view, and the LinqDataSource control.  In the video you'll see how to build an ASP.NET page that retrieves data from a data context object (created with the new LINQ to SQL designer) and binds it to various controls using the LinqDataSource control.

View the Video



comments powered by Disqus


  • Your video is so cool

  • Glad you liked it....thanks. :-)

  • Guys, do always provide a download link. Its always frustrating when i see the "view" links because most internet connection on my side of the world sucks. Thanks.

  • Keni,

    You'll find a download link immediately below the video. It's titled "Click here to view in Windows Media Player". You can right-click on it and select "Save Target As" in IE. Firefox will allow you to save it as well. All of the videos have this available for you to use.

  • You skimmed over why the gridview didn't update when you changed the value in the detail view.

    Could you show how to make that update on change of the detail view?


  • Steve,

    You can handle the DetailsView control's ItemUpdated event (or the Updated event on the LinqDataSource) and then call GridView1.DataBind() to reload the grid with fresh data from the DB. It only requires a single line of code not counting the event handler itself so it's quick and easy to implement.

    void CustomerDetail_ItemUpdated(object sender,
    DetailsViewUpdatedEventArgs e)
    // Refresh the GridView control after record is updated

  • Great video. I love the strongly typed classes you can generate from your data store and I have always thought linq was good stuff.
    Forgive my prejudice on the video, I thought it was to be viewed online.

Comments have been disabled for this content.