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

 

 

Published Thursday, July 26, 2007 10:32 PM by dwahlin
Filed under: ,

Comments

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

Saturday, July 28, 2007 9:27 AM by Jimmy

Your video is so cool

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

Saturday, July 28, 2007 12:21 PM by dwahlin

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

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

Thursday, August 2, 2007 1:14 PM by Keni

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.

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

Thursday, August 2, 2007 1:23 PM by dwahlin

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.

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

Thursday, August 2, 2007 2:59 PM by Steve

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?

Thanks

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

Thursday, August 2, 2007 4:24 PM by dwahlin

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

     GridView1.DataBind();

}

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

Friday, August 3, 2007 3:12 AM by Keni

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.