populating drop down

Jan 30 2015 8:14 AM
i am writing a code in c#. my requirement is, if some data is existing in the databse then accordingly the contents should get populated in the drop down menu.

like, i have a circuit number & in database there is information whether that circuit is faulty. so i have to put the condition that if the circuit is faulty then according the drop down should show an option like "clear fault".

if anyone can help me with this i will be obliged.
thanks in advance.

Answers (1)