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
abdelwaheb ammar
1.3k
457
124.7k
Add XElement to another XElement in specific location
Feb 7 2020 4:17 AM
My XML
<
Bank
>
<
Customer
id
=
"0"
>
<
Accounts
>
<
Account
id
=
"0"
/>
<
Account
id
=
"1"
/>
</
Accounts
>
</
Customer
>
<
Customer
id
=
"2"
>
<
Accounts
>
<
Account
id
=
"0"
/>
</
Accounts
>
</
Customer
>
</
Bank
>
i want to add new account element before customer id=2.
i have this xml in xelement and i want to add other xelement to the first. how can do that?
Thanks for the help.
Reply
Answers (
1
)
Getting error while sending data from controller to view.
Add where clause in LINQ query