November 27th, 2013, 01:00 AM
C# with Access DB link a tuple to represent a picture box
I am working on a C# project and completely lost. I am trying to create a restaurant POS system. Each tables (8 in total) would represent a tuple in a database. Basically the employee would enter the customer information (name, time/date) and the employee would click on a table picturebox. By clicking the table picture box, the information would be saved in that tuple. The logic would be if the customer name field is empty, the field availability will show true. If that field is true, I would change the picturebox attribute to show that is has been pressed. If I want to clean a table to open for reservation, I would click on a clear button and click on the table picturebox, making the tuple blank out the customer's name. What is a good way of doing this?
Thanks in advance
I can connect the database using the connection string but lost after that.
Uploaded with ImageShack.us
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.