Fritz
Freshman
How can I do this? I'm trying like this:
Dim frm2 As New frm2()
frm2.BindingContext(objDataSet1, "MyTable").EndCurrentEdit()
frm2.BindingContext(objDataSet1, "MyTable").Position = Me.ListBox1.SelectedIndex
I've tried other things also, but I mean it must be somewhere around this.
I select a user from ListBox1. But when I open frm2, the index ist still at the first position.
I think it must be possible. Can anybody help me, please?
Dim frm2 As New frm2()
frm2.BindingContext(objDataSet1, "MyTable").EndCurrentEdit()
frm2.BindingContext(objDataSet1, "MyTable").Position = Me.ListBox1.SelectedIndex
I've tried other things also, but I mean it must be somewhere around this.
I select a user from ListBox1. But when I open frm2, the index ist still at the first position.
I think it must be possible. Can anybody help me, please?