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
abdujalil chuliev
NA
400
41.2k
Best way to bind XML to Asp.Net
Jun 17 2017 12:55 AM
I'm a junior asp.net developer. I have got many XML files which consist of many attributes, child elements and so on. I want to preview those data. What way is the best to display or bind those XMLs to Asp.Net GridView control or the other controls. Please show me with some c# asp.net codes. Below is one of my XML files:
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
application
propertytype
=
"databs"
applid
=
"i20170001"
schemaname
=
"dsatabsschema"
maxid
=
"182"
editname
=
"????"
editdt
=
"04-04-2017 10:30:34"
>
<
b210_appl_number
fid
=
"i20170001_102"
>
20170001
</
b210_appl_number
>
<
b22_date_filing
fid
=
"i20170001_103"
>
02.02.2017
</
b22_date_filing
>
<
b11_number_reg
countrycode
=
"US"
fid
=
"i20170001_104"
>
00344
</
b11_number_reg
>
<
b12_number_reg
countrycode
=
""
fid
=
"i20170001_105"
>
</
b12_number_reg
>
<
b15_date_reg
fid
=
"i20170001_106"
>
07.03.2017
</
b15_date_reg
>
<
b18_expir_date
fid
=
"i20170001_107"
>
</
b18_expir_date
>
<
b40_public_date
fid
=
"i20170001_108"
>
28.04.2017
</
b40_public_date
>
<
bulletin_no
fid
=
"i20170001_109"
>
№4
</
bulletin_no
>
<
b54_prev
fid
=
"i20170001_110"
>
</
b54_prev
>
<
b54_titles
fid
=
"i20170001_111"
>
<
b54_title
lang
=
"english"
fid
=
"i20170001_112"
>
<
b54_name
fid
=
"i20170001_113"
>
botanik-geograf flora
</
b54_name
>
<
b54_mult_name
fid
=
"i20170001_114"
>
</
b54_mult_name
>
<
b54_date_fin
fid
=
"i20170001_115"
>
25.12.2016
</
b54_date_fin
>
<
b54_date_fpub
fid
=
"i20170001_116"
>
</
b54_date_fpub
>
<
b54_place_fpub
fid
=
"i20170001_117"
>
</
b54_place_fpub
>
<
b57_desc
fid
=
"i20170001_118"
>
Data Base Description
</
b57_desc
>
<
b57_work_area
fid
=
"i20170001_119"
>
</
b57_work_area
>
<
b57_type_computer
fid
=
"i20170001_120"
>
Pentium IV
</
b57_type_computer
>
<
b57_language
fid
=
"i20170001_121"
>
Microsoft Access 2013
</
b57_language
>
<
b57_OS
fid
=
"i20170001_122"
>
Windows XP
</
b57_OS
>
<
b57_data_all
fid
=
"i20170001_123"
>
Microsoft Access 2013
</
b57_data_all
>
</
b54_title
>
<
b54_title
lang
=
"russian"
fid
=
"i20170001_124"
>
<
b54_name
fid
=
"i20170001_125"
>
????? ???????? ??????
</
b54_name
>
<
b54_mult_name
fid
=
"i20170001_126"
>
</
b54_mult_name
>
<
b54_date_fin
fid
=
"i20170001_127"
>
25.12.2016
</
b54_date_fin
>
<
b54_date_fpub
fid
=
"i20170001_128"
>
</
b54_date_fpub
>
<
b54_place_fpub
fid
=
"i20170001_129"
>
</
b54_place_fpub
>
<
b57_desc
fid
=
"i20170001_130"
>
DB in russian
</
b57_desc
>
<
b57_work_area
fid
=
"i20170001_131"
>
DB working area
</
b57_work_area
>
<
b57_type_computer
fid
=
"i20170001_132"
>
Pentium IV ? ????
</
b57_type_computer
>
<
b57_language
fid
=
"i20170001_133"
>
Microsoft Access 2013
</
b57_language
>
<
b57_OS
fid
=
"i20170001_134"
>
Windows XP ? ????
</
b57_OS
>
<
b57_data_all
fid
=
"i20170001_135"
>
Microsoft Access 2013
</
b57_data_all
>
</
b54_title
>
</
b54_titles
>
<
applicants
fid
=
"i20170001_136"
>
<
applicant
persontype
=
"GOVERMENT"
countrycode
=
"US"
base
=
""
fid
=
"i20170001_137"
>
<
b71info_applicant
fid
=
"i20170001_138"
>
</
b71info_applicant
>
<
b71nameaddr_lgs
fid
=
"i20170001_139"
>
<
b71nameaddr
lang
=
"english"
alias
=
"1"
fid
=
"i20170001_140"
>
<
b71name_applicant
fid
=
"i20170001_141"
>
genofond institut
</
b71name_applicant
>
<
b71addr_applicant
fid
=
"i20170001_142"
>
city, street, house
</
b71addr_applicant
>
</
b71nameaddr
>
<
b71nameaddr
lang
=
"russian"
alias
=
"1"
fid
=
"i20170001_143"
>
<
b71name_applicant
fid
=
"i20170001_144"
>
???????? ????????? ????????????? ? ????????? ???? ???????? ???? ??????????
</
b71name_applicant
>
<
b71addr_applicant
fid
=
"i20170001_145"
>
</
b71addr_applicant
>
</
b71nameaddr
>
</
b71nameaddr_lgs
>
</
applicant
>
</
applicants
>
<
authors
fid
=
"i20170001_146"
>
<
author
persontype
=
"PRIVATE"
countrycode
=
"US"
birthday
=
""
fid
=
"i20170001_147"
>
<
b72info_author
degree
=
""
position
=
"??????? ??????? ?????????"
fid
=
"i20170001_148"
>
???????? ????????? ????????????? ? ????????? ???? ??
</
b72info_author
>
<
b72nameaddr_lgs
fid
=
"i20170001_149"
>
<
b72nameaddr
lang
=
"english"
alias
=
"1"
fid
=
"i20170001_150"
>
<
b72name_author
fid
=
"i20170001_151"
>
Jack Smith
</
b72name_author
>
<
b72addr_author
fid
=
"i20170001_152"
>
city, street, house
</
b72addr_author
>
</
b72nameaddr
>
<
b72nameaddr
lang
=
"russian"
alias
=
"1"
fid
=
"i20170001_153"
>
<
b72name_author
fid
=
"i20170001_154"
>
Jack Smith
</
b72name_author
>
<
b72addr_author
fid
=
"i20170001_155"
>
</
b72addr_author
>
</
b72nameaddr
>
</
b72nameaddr_lgs
>
</
author
>
<
author
persontype
=
"PRIVATE"
countrycode
=
"US"
birthday
=
""
fid
=
"i20170001_156"
>
<
b72info_author
degree
=
""
position
=
"??????? ??????? ?????????"
fid
=
"i20170001_157"
>
</
b72info_author
>
<
b72nameaddr_lgs
fid
=
"i20170001_158"
>
<
b72nameaddr
lang
=
"english"
alias
=
"1"
fid
=
"i20170001_159"
>
<
b72name_author
fid
=
"i20170001_160"
>
Tom Clark
</
b72name_author
>
<
b72addr_author
fid
=
"i20170001_161"
>
city, street, house
</
b72addr_author
>
</
b72nameaddr
>
<
b72nameaddr
lang
=
"russian"
alias
=
"1"
fid
=
"i20170001_162"
>
<
b72name_author
fid
=
"i20170001_163"
>
Tom Clark
</
b72name_author
>
<
b72addr_author
fid
=
"i20170001_164"
>
</
b72addr_author
>
</
b72nameaddr
>
</
b72nameaddr_lgs
>
</
author
>
</
authors
>
<
b75s
fid
=
"i20170001_165"
>
</
b75s
>
<
owner_changes
fid
=
"i20170001_166"
>
</
owner_changes
>
<
attorney
fid
=
"i20170001_167"
>
</
attorney
>
<
mailaddr
fid
=
"i20170001_168"
>
<
b75_mailaddr
lang
=
"russian"
fid
=
"i20170001_169"
>
some mail info
</
b75_mailaddr
>
</
mailaddr
>
<
conclusion
fid
=
"i20170001_170"
conclusiontype
=
"POSITIVE"
date_conclusion
=
"03.03.2017"
date_sending
=
"03.03.2017"
>
some names
</
conclusion
>
<
recalls
fid
=
"i20170001_171"
>
</
recalls
>
<
annulments
fid
=
"i20170001_172"
>
</
annulments
>
<
inquiries
fid
=
"i20170001_173"
>
</
inquiries
>
<
notifications
fid
=
"i20170001_174"
>
</
notifications
>
<
licenses
fid
=
"i20170001_175"
>
</
licenses
>
<
fees
fid
=
"i20170001_176"
>
<
fee
feecurr
=
""
fid
=
"i20170001_177"
feecurrency
=
"USS"
>
<
fee_type
fid
=
"i20170001_178"
>
?? ??????????????? ????
</
fee_type
>
<
fee_doc
fid
=
"i20170001_179"
>
?.?.
</
fee_doc
>
<
fee_date
fid
=
"i20170001_180"
>
27.01.2017
</
fee_date
>
<
fee_sum
fid
=
"i20170001_181"
>
149775
</
fee_sum
>
</
fee
>
</
fees
>
<
appeals
fid
=
"i20170001_182"
>
</
appeals
>
</
application
>
Reply
Answers (
1
)
AddThis API for Facebook shearing....but not working...
What would be the features of a cloud based web application