Hello
I began with vbnet and databinding. I created a database containing a table
access Students.
In a form frmListEleves I slipped and deposited the table in question and a
datagridview was created automatically, as well as Calcul_mentalDataSet,
ElevesBindingSource, ElevesTableAdapter.
The purpose of this form is to enable a user to authenticate by clicking on
the line that represents it. And if not in the list, then click a button a
second form appears: frmNewEleve where I slipped and deposited Students at
the table but in fashion retail. In the event of load here I am:
Me.ElevesBindingNavigatorAddItem.PerformClick () so that the user can
immediately enter his name in full.
I want that clicking on the button save to
ElevesBindingNavigatorSaveItem_Click, the user should return to the form
containing the dgv updated, and positioned on the datarow which has just
been created. Is it possible simply?
Currently to reach refresh the dgv, I close the form 1 when I call form 2
then reopen when I close the form 2! Rather, it is invalid as code, I know
.... I have long sought on msdn and without google to find examples simple to
understand.
Somebody help me know? Thanks!
pascal
--
Http://www.scalpa.info