Easy SQL to XML with LINQ and Visual Basic 2008
page 8 of 8
by Richard Dudley
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 35958/ 118

Summary

In .NET 3.5 and Visual Basic 9, Microsoft added a number of features to make coding quicker and clearer.  In addition to LINQ, these features include anonymous types and the inclusion of XML as a native type.  With only 14 lines of code, we were able to extract data from a SQL Server database and convert it into an XML document.

There is so much more to LINQ than what we've covered here. This example should provide a good foundation for exploring LINQ even more.  There are a couple of references listed below with a wealth of information about LINQ.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 7 and 6 and type the answer here:

User Comments

Title: SQL or XML   
Name: Sunil
Date: 5/21/2012 2:05:53 AM
Comment:
Dear sir,
i want to create and access the Database using VB 2008.
which one i have to use SQL or XML.
Thank u.
Title: hi   
Name: titi
Date: 8/21/2008 8:48:59 AM
Comment:
very nice article

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2012 ASPAlliance.com  |  Page Processed at 5/23/2012 1:36:44 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search