Actually I need how to create Header and Details format.
i.e: I am haveing 4 Textbox, 1.txtCustId, 2.txtCustName,3.txtCustAddress,4.txtsalesDate.
and palced a datagrideView1. it is also having following coloums. CustID(It will be invisible), SrNo, Item_Details, UOM,KGs,Total.
and put the 4 buttions: btnAdd, btnSave, btnUpdate,btnDelete.
I would like learn HEADER and DETAILS for purchase/Sales Transaction using in C# and SQL2005 Windows Application. My Question is how to do it? I am Using Two forms, frmCustHeader, and frmCustDetails. Header for using to customer info, CustDetails for what they are buy or sales multiple items. kindly give the idea or code to learn.
Advance Thanks & Regards,