I have a MS Access database like this:
| Item | Price |
| A | 3 |
| B | 4 |
| C | 2 |
In visual studio 2015, I have a form. In this form I have a text box and a label. When I shall input A, B or C in text box then label will show 3, 4 or 2. Please give me a sample code.

Amit GuptaRank #190 · 12.8K reputationPosted Aug 17, 2017, 2:23 PM EDT