TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Raj Kumar
Tech Writer
47.3k
27.9m
How to get XML LastChild attribute value in silverlight
Oct 28 2010 6:37 AM
This is my xml..
<Users>
<User UserId="1" Email="
[email protected]
" Password="rajk" FirstName="raj" LastName="kumar" />
<User UserId="2" Email="
[email protected]
" Password="1234" FirstName="raj" LastName="beniwal" />
<User UserId="3" Email="
[email protected]
" Password="2222" FirstName="david" LastName="sann" />
</Users>
i wanna fetch UseId 3 on page...i tried this code but it's not working.
XDocument xmlDoc = XDocument.Load(xmlfile);
int i = 0;
i = xmlDoc.ChildNodes(0).LastChild.Attributes("UserId").Value;
ANyone has idea??
Reply
Answers (
2
)
Explain whats going on with Deployment.CurrentDispatcher.BeginInvoke(() => ........
Asking for right solution for the Video and Voice Chat application, problem getting in client machine IP over INTERNET?