Hello: I'm working on a new form with a datagridview and need to know if this is possible:

The user can access the form in 2 different modes: Edit or Add.
If they enter in Add mode, I want the dgv to be clear of any data. The dgv
will have a set number of rows and they will enter data in text boxes and make selections from comboBoxes and save it to the db.

If they enter is Edit mode, I want the dgv to populate with data, based on the value they select from the previous form.

Can I do this? if so, could you please give me a push in the right dirrection?

Thanks,
Proctor