I have a problem with a school project, as I said in the title, I need to change rows and open a form that already has design , but with different things, come on:
The program is very simple, a datagrid
, with Name, Id, Phone and a checkbox
that defines whether the person is active or not. Underneath it there are 4 buttons, Insert , Change , Delete and Close . The Insert , opens another form with textboxes
to fill the data, and 2 (Add / Close) buttons, and Delete have already been made.
On the Change button, I have to open the same form of the Insert button , but the Add button has to be renamed, changed, and instead of adding a new row
, this will only change the values of it. I tried to look for ways to do this, but so far nothing.
If you can help me, I thank you very much, if you do not understand, I am willing to give you the instructions of my project so that you understand better. Thanks!
Note: This has nothing to do with SQL, several of the results that I looked for in google in YT had to do with SQL.