Display data from table in Ms.access into text box C#
- by Sophorn
I have a problem to ask you.
I have a table in Ms.Access that contain: (FoodID, FoodName, Price) and in C# I have three
text boxes (txtId, txtName, txtPrice) and a button (btnSearch). My question is that, In C#
I just type FoodID in (txtId) and then click on button Search It'll display FoodName and Price
( from table access) in txtName and txtPrice by itself. What is the source code for this point? Please write the source code detail.(Please send it to my e-mail: [email protected])
I am looking forward to getting answer from you.
Thanks you.