I am working on an ASP.NET web page. I am trying to determine what the best controls are to use to work with a one-to-many relationship. I am set with the parent object that allows me to do the basics of editing the record.
I am struggling with the second object which contains the many part of the relationship. I have tried the various data controls with mild success. The child table has four fields: DealID, EmployeeID, Percentage, FixAmount.
I am able to get the connection with the parent object so it displays only the records that are associated with the deal in the parent. I would like to be able to Edit and Delete an entry which I can do with certain controls. I would like to be able to put a drop-down list associated with the employee ID which has been the main challenge. I would like to be able to add a new entry which I should be able to add a button to add the record and refresh the list.
What would be the best data control to be able to Edit and Delete the record and have the ability to put a drop-down list displaying when editing.
I am using VS2010 for this project.