in

This site is all about the amazingly cool stuff you can do with VB.NET.

Fun with VB LINQ

LINQ and AJAX webinar sample code

This is the sample code used in the 3 demos I did today (3/25/08) for the Magenic Webinar on Visual Studio 2008.  Grab it here.

The archive contains a solution with 2 aspx pages and the related VB codebehind files.

 

You should be able to look at the query and get a good idea of the schema of the Person table. (ID, LName, FName, City, State) 

There are two "regions" in the default.aspx page.  One is just regular HTML, and the other has an AJAX UpdatePanel and a ScriptManager control.  Anything you want to "AJAXify" needs to go inside the update panel (near the bottom half of the page.)

The Default.aspx page is used for the first two demos, and the LINQToObjects.aspx page is used for the 3rd demo. 

If you have any questions, please post a comment. 

Published Mar 25 2008, 02:35 PM by admin
Filed under: , , ,

Comments

No Comments

About admin

Chris Williams is a Technology Evangelist for Magenic. He is the founder of several .NET User Groups on the east coast, and most recently the Twin Cities XNA User Group (www.twincitiesxnausergroup.com) in Minneapolis, MN. He is a VB.NET MVP, rabid blogger and owner of www.ILoveVB.NET. He's also a MCT, MCSD (.NET) Early Adopter, MCAD, freelance game developer, occasional author, tech editor, code camp & user group speaker, vintage arcade game collector and plays a pretty mean guitar in Rock Band.
Copyright 2008 - ILoveVB.NET
Powered by Community Server (Commercial Edition), by Telligent Systems