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
Technetshadow
NA
148
8.2k
Parsing XML to get C# Business Object
Feb 8 2017 1:57 AM
Input XML is like
<
BusDetails
>
<
BusName
>
Bus001
</
BusName
>
<
BusID
>
AN-101
</
BusID
>
<
BUSNumber
>
22490
</
BUSNumber
>
<
Buskey
>
ABCD-EFGH
</
Buskey
>
<
SeatDetails
waittime
=
600
>
<!-- seconds-->
<
SeatDetail
>
<
Type
>
Economy
</
Type
>
<
SeatNumber
>
A-01
</
SeatNumber
>
<
SeatReservedFor
>
None
</
SeatReservedFor
>
</
SeatDetail
>
<
SeatDetail
>
<
Type
>
Business
</
Type
>
<
SeatNumber
>
B-01
</
SeatNumber
>
<
SeatReservedFor
>
None
</
SeatReservedFor
>
</
SeatDetail
>
<
SeatDetail
>
<
Type
>
Other
</
Type
>
<
SeatNumber
>
C-01
</
SeatNumber
>
<
SeatReservedFor
>
VIP
</
SeatReservedFor
>
</
SeatDetail
>
.........
</
SeatDetails
>
</
BusDetails
>
i want to parse or deserialize this xml into c# object, to use this data in program.
what will be the best way to do this?
Reply
Answers (
1
)
WorkSheet array in A WorkBook
How make vb.net app Secured