So basically I just started learning to use Windows forms with c++. I am creating an inventory/point of sale system. I have done the inventory part but now I want to do the sales part but I'm not sure how to go about it. I want to create a function that allows users to purchase items from the inventory. Any suggestions?? Thank you all in advance for your help. I am using sql server btw and I have a datagridview populated with data.