Go Back   CodingForums.com > :: Server side development > ASP.NET

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-25-2011, 11:17 PM   PM User | #1
NKeuxmuis
New Coder

 
Join Date: Feb 2011
Posts: 23
Thanks: 4
Thanked 0 Times in 0 Posts
NKeuxmuis is an unknown quantity at this point
Can anyone explain what this small piece of code does?

Can anyone explain what is happening in the following code? I want to understand it fully so would like somebody to explain. I especially don't understand the "From client In xmlDS...<client>". I understand that the whole thing selects the client tags from an XML file. But what does each individual thing do?

Code:
Dim clients = From client In xmlDS...<client> _
        Where client.<body_type>.Value Like "*" & lstBodyType.SelectedValue And _client.<sex>.Value Like "*" & lstSex.SelectedValue _
        Select client
NKeuxmuis is offline   Reply With Quote
Reply

Bookmarks

Tags
comment, select, xmlds

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:14 AM.


Advertisement
Log in to turn off these ads.