APNSoft - Web Controls, components for ASP.NET Home Help Center Contact Us
About UsProductsDownloadsPurchase
Support

Menu
Version 3.6



What's New
Overview
Features
Reference Book
Licensing
Support



Populating with Data
Appearance
Layout
Behavior
Programming




 Home About Us
 Products Solutions Support
 Site Map


This example demonstrates how to use Menu with data binding. You should set the DataSource property to specify a source of data and call the DataBind() method. This method used to bind data from a source to a control. Menu supports building multiple levels of hierarchy (the ID/ParentID model) from a single table in the data source.

In this example, the Menu takes the structure from MS Access Database. You can also use the following SQL command to create an appropriate table in the SQL Server.

Each record in the table represents a menu item or separator. Record fields represent item attributes. If the value of the "title" field is "separator", menu component consider this record as a separator.

Code Samples:
WebForm1.aspxWebForm1.aspx.csWebForm1.aspx.vbSkin Style (Horizontal)
Skin ImagesdbItems.mdb  



  © 2003-2010 APNSoft. All rights reserved. Table of Contents   Terms of use   Contact Us   Help Center