I'm new to ASP.Net. I need to bind data to menu navigation control from DataBase. These are the Tables I have...I know how to bind data from web.sitemap and xml, but not through database. If any changes are made in database, then automatically it should
update in menu navigation control..plz guide me...
Services --> E - Learning
Education
Software
Products --> Education
Individuals
Corporate
Customers --> Testimonials
Careers --> Work Culture
Current Openings
About US --> Quality Policy
Our Founder
Our Team
Thanks in Advance...
i'm using menu control and binding the data from database
but here my problem is its displaying all submenus and menu items in same line .it should display in horizontal
here is the menu items
About Us
Contact
Services ->cardiologist
->peditritian
->gynacologist
Specialists
under services i have sub categories
my table consists
MainMenu(menuid, menuname)
Submenu*submenuid,submenuid,menuid)
plz help me out in this
how to proceed
the link which u hav provided consists of treeview control but i'm using menu control i tried to do same thing with menu control but unable to bind submenu items under main menu
sureshkumar....
Member
19 Points
57 Posts
How to bind data to menu navigation control from database
Nov 19, 2007 09:32 AM|LINK
Hi
I'm new to ASP.Net. I need to bind data to menu navigation control from DataBase. These are the Tables I have...I know how to bind data from web.sitemap and xml, but not through database. If any changes are made in database, then automatically it should update in menu navigation control..plz guide me...
Services --> E - Learning
Education
Software
Products --> Education
Individuals
Corporate
Customers --> Testimonials
Careers --> Work Culture
Current Openings
About US --> Quality Policy
Our Founder
Our Team
Thanks in Advance...
BoundField databinding databind Bind databinder ADO.NET c# code GridView DataBinding DataTable GridView DataBinding Template Field bind data ASP.NET 2.0 DataBinding DefaultView databound ASP.NET web form asp .net ... c# ... SQL javascrpt ADO.NET 2.0 C# 2005 Databind() asp .net2.0 2.0
XIII
All-Star
182787 Points
23484 Posts
ASPInsiders
Moderator
MVP
Re: How to bind data to menu navigation control from database
Nov 19, 2007 10:46 AM|LINK
Hi,
take a look at this article: Display Hierarchical Data with TreeView in ASP.NET 2.0.
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
archu136
Member
27 Points
96 Posts
Re: How to bind data to menu navigation control from database
Dec 15, 2007 11:06 AM|LINK
hi
even i'm alos facing same thing
i'm using menu control and binding the data from database
but here my problem is its displaying all submenus and menu items in same line .it should display in horizontal
here is the menu items
About Us
Contact
Services ->cardiologist
->peditritian
->gynacologist
Specialists
under services i have sub categories
my table consists
MainMenu(menuid, menuname)
Submenu*submenuid,submenuid,menuid)
plz help me out in this
how to proceed
the link which u hav provided consists of treeview control but i'm using menu control i tried to do same thing with menu control but unable to bind submenu items under main menu
hope u got my point
thank u in advance
archu