sathya kumar

sathya kumar

  • NA
  • 89
  • 0

How to bind drop down list?

May 14 2011 4:50 AM

Hi friends,

     I have a doubt how to bind drop down list. i have a table.

 

IdCategory NameMain CategoryWeight
1Curriculum        00
2Science11
3Non-Curriculum00
4Physics22
5Acting31
6Concave Lense        43






 In this table the main category is denotes the subcategory which will come under that category the weight denotes that sub category level.

 

for the above table i want to bind drop down like this format 

Curriculum

-Science

--Physics

---Concave Lense

Non-Curriculum

-Acting


Can any one know the solutions please help me. u often see this is in article posting sites. if any one have the idea tell me,
 
Thanks,


Answers (3)