Click here to Skip to main content
15,913,854 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Compare databse field with selected value of a combo box using vb.net
Posted

1 solution

You can do this using a query.

Assuming your drop down value is 'abc'.
Query the database with a query like select count(*) from table where value='abc'.

If the count returned is 0, there is no data for this field available in the table.
 
Share this answer
 
Comments
tanugarg 17-Jun-14 2:35am    
please explain in example

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