Jeiss

Jeiss

  • NA
  • 14
  • 0

Display treeview-selecteditem from Window1 on Window2

Jan 22 2011 5:26 AM

Hi,
i would like to display the data of the datatable-row that is represented by the selecteditem of TreeView1 on a second form.
So my first question is how do i transmit the selecteditem to Form2
And my next question is, how do i access the data of the underlying table Treeview1 is bound to?(on Form2 of course)
All i could find out until now, is that Treview1.selecteditem returns a System.Data.DataRowView.
My intention is to edit (add, delete, update) the data on the second form, to save it and then to return to form1 with the updated data.
thanks,
Jeiss

Answers (8)