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">20170001b210_appl_number>
- <b22_date_filing fid="i20170001_103">02.02.2017b22_date_filing>
- <b11_number_reg countrycode="US" fid="i20170001_104">00344b11_number_reg>
- <b12_number_reg countrycode="" fid="i20170001_105">
- b12_number_reg>
- <b15_date_reg fid="i20170001_106">07.03.2017b15_date_reg>
- <b18_expir_date fid="i20170001_107">
- b18_expir_date>
- <b40_public_date fid="i20170001_108">28.04.2017b40_public_date>
- <bulletin_no fid="i20170001_109">№4bulletin_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 florab54_name>
- <b54_mult_name fid="i20170001_114">
- b54_mult_name>
- <b54_date_fin fid="i20170001_115">25.12.2016b54_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 Descriptionb57_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.2016b54_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 russianb57_desc>
- <b57_work_area fid="i20170001_131">DB working areab57_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 institutb71name_applicant>
- <b71addr_applicant fid="i20170001_142">city, street, houseb71addr_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 Smithb72name_author>
- <b72addr_author fid="i20170001_152">city, street, houseb72addr_author>
- b72nameaddr>
- <b72nameaddr lang="russian" alias="1" fid="i20170001_153">
- <b72name_author fid="i20170001_154">Jack Smithb72name_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 Clarkb72name_author>
- <b72addr_author fid="i20170001_161">city, street, houseb72addr_author>
- b72nameaddr>
- <b72nameaddr lang="russian" alias="1" fid="i20170001_162">
- <b72name_author fid="i20170001_163">Tom Clarkb72name_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 infob75_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.2017fee_date>
- <fee_sum fid="i20170001_181">149775fee_sum>
- fee>
- fees>
- <appeals fid="i20170001_182">
- appeals>
- application>
Manikandan MurugesanPosted Jun 17, 2017, 1:15 AM