Hi Everyone,
I'm doing a point of sale application and would like to add code to my "Save" button that will insert data into the database.
The form will first lookup a customer and set up data for an invoice header. The customer will be able to select products and they will be displayed in a data grid. The header data will be in label controls.
The table names I am using are: Customers, TransactionHeaders, TransactionDetails.
Can you show me the best way using code to get the data from the TransactionHeaders and TransactionDetails tables into the SQL Sever database?
Thanks.
Truly,
Emad