mohammad_z
New member
- Joined
- Oct 21, 2012
- Messages
- 3
- Programming Experience
- 1-3
Hi
I'm working on Invoice System and I wanna use DataGridView for the invoice and I have some questions:
1. First column will be for product code. So what I want to do that when the user enter the product code and press "enter" the programme search on "products table" and the price should be written automatically on the second column.
2. On the third column, user will write the quantity so what I want to do is to multiply the price * quantity and put the answer on the fifth column.
3. The fourth column will be for the discount so it should be work like this (Price * quantity - discount)
4. Finally, the fifth columns sould be added together and the answer sould be written on the text box bellow.
I hope that I describe everything clearly.
Please help me with that
Thank you
I'm working on Invoice System and I wanna use DataGridView for the invoice and I have some questions:
1. First column will be for product code. So what I want to do that when the user enter the product code and press "enter" the programme search on "products table" and the price should be written automatically on the second column.
2. On the third column, user will write the quantity so what I want to do is to multiply the price * quantity and put the answer on the fifth column.
3. The fourth column will be for the discount so it should be work like this (Price * quantity - discount)
4. Finally, the fifth columns sould be added together and the answer sould be written on the text box bellow.
I hope that I describe everything clearly.
Please help me with that
Thank you