Click here to Skip to main content
16,020,447 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to make the dynamic menu for the my app in web forms, so i want to Populate Category and Sub-Category in my main menu Dynamically from Database using Entityframwork

those are webforms Sql database table names
1) prodcategories(Cid[PrimaryKey] int,name varchar,description varchar)
2) prodSubcategories(Subid int,name varchar,description varchar,Cid[Foreign Key] int)
Posted
Updated 23-Dec-13 6:28am
v2
Comments
Richard C Bishop 23-Dec-13 11:58am    
You have our permission, proceed.
nuthi_naresh 23-Dec-13 12:18pm    
@Richard C Bishop sorry, I didnot get wat u said? Can u be little clear?
Nelek 23-Dec-13 19:58pm    
In other words... you say "I want to make"... Richard's answer: do it

You don't ask anything, just list some requirements.

1 solution

This is not how CP usually works. Most important goal here is to learn and help learning.
You are supposed to try it on your own, and come here when you got stuck with something, with a concrete question about your code, design, etc.
Please have a look to What have you tried?[^] to see a good explanation about what I mean.
Don't forget people here don't get payed. And besides, if we give you a ready-to-go solution, it is not going to help you because you are not going to learn anything from it.

P.S. Written as solution to avoid this "question" to be in the unanswered list
 
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