Click here to Skip to main content
15,880,891 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to generate menu based on the values in the table/ dataset. Now main menu contain 4 values, Products, Applications, Documents, Support. Each menu has its menu items. I need to generate XML and bind it to the asp menu control. Check this link Detailed Question
Posted
Updated 28-Jan-14 19:31pm
v5

1 solution

Use Dataset.GetXML Method to fetch the XML representation of Dataset.

http://msdn.microsoft.com/en-us/library/system.data.dataset.getxml(v=vs.110).aspx[^]

Then

Binding Menu Control with XMl DataSource[^]
 
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