Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I need to populate data from an xml file without using controls. I need to display in the following way (like one can achieve with using DetailsView control)

Format:
ID 10ABC

Name Alvin

Department Retail

I already got how to do it dynamically but in tabular form


Kindly help in getting data in required format.Thanks in advance.
Posted
Updated 31-Jan-11 0:26am
v3

Load the XML and use Response.Write() to push it as output into a panel.
 
Share this answer
 
Comments
Pravin Patil, Mumbai 31-Jan-11 7:12am    
Most correct answer..........
I don't see why you wouldn't do this with a data driven control, but your format seems easy enough, just put breaks between the lines when you emit the html.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900