Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
hello

how are you friends :)

i want to know how to generate menu with custom html design i mean if i have a html design and i want to generate the menu (parent and sub)

this is my table
SQL
/*
Navicat SQL Server Data Transfer

Source Server         : Local Server
Source Server Version : 100000
Source Host           : unicon-it\sql2008:1433
Source Database       : Northwind
Source Schema         : dbo

Target Server Type    : SQL Server
Target Server Version : 100000
File Encoding         : 65001

Date: 2015-10-15 14:47:07
*/


-- ----------------------------
-- Table structure for menuMaster
-- ----------------------------
DROP TABLE [dbo].[menuMaster]
GO
CREATE TABLE [dbo].[menuMaster] (
[menu_id] int NOT NULL ,
[menu_name] varchar(100) NOT NULL ,
[menu_parent_id] int NULL ,
[menu_url] varchar(50) NULL 
)


GO

-- ----------------------------
-- Indexes structure for table menuMaster
-- ----------------------------

-- ----------------------------
-- Primary Key structure for table menuMaster
-- ----------------------------
ALTER TABLE [dbo].[menuMaster] ADD PRIMARY KEY ([menu_id])
GO


i hope i can get the way with any html design

thanks in advanced
Posted

I hope this link will help:
http://sysmagazine.com/posts/174531/[^]

or from the previously answered question here:
How to Dynamically load Menus and Submenus from Database in ASP,Net MVC3 Razor[^]
 
Share this answer
 
Comments
Developer It 17-Oct-15 3:28am    
this is for mvc and i am looking for asp.net web forms
Sreekanth Mothukuru 17-Oct-15 4:35am    
Have you tried anything and where you got stuck ?
Developer It 17-Oct-15 10:29am    
i didn't i hope that i can get any thing to start with
any help please regarding to the topic name
 
Share this answer
 
Comments
Krunal Rohit 24-Oct-15 2:57am    
Don't post it as a solution.

-KR

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