G
Guest
Hi,
I am working on the windows application. I created a form Form1 to list
records. I used datagridview to show data and bound it to a dataadapter. User
can click Update button in Form1 to open a new dialog window Form2 to update
selected record and also add new records. When user closes the Form2, the
Form1's records should be updated (New records should be added and updated
record should be updated.) And we also want to stay in the same place in
Form1 so that user don't need scroll down to find his updates.
Is there any way to do this? I tried to add rows dynamically but got errors.
Is there a way we can refill the datagridview but keep the cursor in the
previous place?
Thanks,
Ying
I am working on the windows application. I created a form Form1 to list
records. I used datagridview to show data and bound it to a dataadapter. User
can click Update button in Form1 to open a new dialog window Form2 to update
selected record and also add new records. When user closes the Form2, the
Form1's records should be updated (New records should be added and updated
record should be updated.) And we also want to stay in the same place in
Form1 so that user don't need scroll down to find his updates.
Is there any way to do this? I tried to add rows dynamically but got errors.
Is there a way we can refill the datagridview but keep the cursor in the
previous place?
Thanks,
Ying