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): 39612/ 50

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

User Comments

Title: SQL or XML   
Name: Sunil
Date: 2012-05-21 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: 2008-08-21 8:48:59 AM
Comment:
very nice article

Product Spotlight
Product Spotlight 





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


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-19 3:10:48 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search