Monday, 11 August 2008

LINQ - A hand at XML Linq

A while ago, I happened to play around with LINQ - was working on AJAX and came across a cool way to access the tables inside a dataset. Below is a snippet of code I tried


The one line code can be as below

The code selects the rows in a table into a collection depending on the where clause. I am fan of stuff like this !! Write me if you want me to explain :)

3 comments:

Unknown said...

very good! it helped me so much! az

Unknown said...

very good! it helped me so much! thanks Azhar

Anonymous said...

LINQ rocks.