I'm creating a medical store application, with textboxes and one datagridview (see image below of my form). When a user clicks the add button, I want all textbox values and datagridview values to be inserted into database. Also I want from particular reg no.(which is primary key) patient name and if he choose multiple medicine that also retrieve by using search option.