![]() |
Click here to advertise with us
|
|
|||||||
| Database General Discussion General discussion on database related topics |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I'm new to to VB and ADO.NET and i would like to create an addressbook with:
- one form with a datagridview containing some infos(name, company, phone number and email) - a second form with the full details of the selected contact Questions: - should i use a typed dataset or programm everything myself? - how do i display the full contact details in the 2nd form after clicking on the first form? Thanx in advance for your help! |
|
|||
|
i dont expect any sample code... just any idea how it's supposed to work:
- pass the data from form1 to form2 as a datarow? - form1 and form2 should have the same bindingsource? - ... |
|
|||
|
the solution i found so far, is to have the same bindingsource for the datagridview(1st form) and the textboxes(2nd form), like this:
Code:
Me.txtName.DataBindings.Add(New System.Windows.Forms.Binding("Text", frmPersonenListe.TblPersonenBindingSource, "Name", True))
How can i let the user confirm saving the changes before closing the form? And if not confirmed, to leave the data unchanged? |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|