I am new to vb.net. Need to know how can I retrieve the value from compname field of my table, to the textbox7 in form i made.
While the user enters data in the textbox, i need to compare the entered textbox value, if it exists or not, in the database. If exists, It should enter the value in textbox. If not, it should pop up a message box asking user to add new contact.
I have inserted data using Oledbd command string.
Database : MS Access 2007
Kindly help me out. Your guidance would be highly appreciated.