RAEES VK

RAEES VK

  • NA
  • 90
  • 8.1k

LIst View Dynamically in asp

Apr 8 2017 4:34 AM
sir i have an xml file
 
 
 
 <Employees>
<Head>
<name>a</name>
<img>1.jpg</img>
<designation>Maneger</designation>
</Head>

<Head>
<name>BB</name>
<img>2.JPG</img>
<designation>supervisor</designation>
</Head>

<Head>
<name>CC</name>
<img>3.JPG</img>
<desinatin>Office Boy</desination>
</Head>

<Head>
<name>ttt</name>
<img>4.JPG</img>
<designation>Office boy</designation>
</Head>
</emplooyees>  i want to bind data list   from above xml file like
 
 
 
 
Employee
 
 
 Manager
 
 name: a
img:1.jpg
designation: Maneger
 
Supervisor
name: BB
img:2.jpg
designation:Supervisor
 
 Office Boy

name: BB                                                  name: BB
img:3.jpg                                                    img:4.jpg
designation:Office Boy                          designation:Office Boy
                                                                  img:a.jpg       
 
 
 how will be the C# code for bindind like this
 

Answers (1)