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.
Loading
Piyush PansuriyaPosted Jan 30, 2015, 8:37 AM
you have to create MASTER TABLE for this type of data.
Column like : LIST_NAME | LIST_CODE
When you apply condition, put LIST_CODE for that. According to List Code data will be retrieve from database.