Hi,
I have a grid control on the Form1. When my form runs, I fill the grid binding it to the underlying dataview. Now when the user clicks on any row in the grid, I have to open a new form (Form2) in edit mode. From the grid form (Form1), when I call the edit form, I use position property as follows:
Me.BindingContext(dataview1).Position
But this always returns me 0. Hence my edit form displays incorrect values. What is the problem here?
Regards,
Varsha
I have a grid control on the Form1. When my form runs, I fill the grid binding it to the underlying dataview. Now when the user clicks on any row in the grid, I have to open a new form (Form2) in edit mode. From the grid form (Form1), when I call the edit form, I use position property as follows:
Me.BindingContext(dataview1).Position
But this always returns me 0. Hence my edit form displays incorrect values. What is the problem here?
Regards,
Varsha