Hi, I want to make in vb.net an application that open several forms and show records of sql database. But, in each form I want to navigate in the table independently.
I make a vb.net project with a mdi forms with BindingManagerBase and binding connect with dataset.
Public Class frm_mant_comp
Private enlace_base_comp As BindingManagerBase
Private Sub frm_mant_comp_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim enlace_comp As Binding
enlace_comp = New Binding("Text", datos, "tabla_componentes.cod_comp")
Me.txt_codigo_comp.DataBindings.Add(enlace_comp)
enlace_comp = Nothing
enlace_comp = New Binding("Text", datos, "tabla_componentes.desc_comp")
Me.txt_desc_comp.DataBindings.Add(enlace_comp)
enlace_comp = Nothing
Me.enlace_base_comp = Me.BindingContext(datos, "tabla_componentes")
Call verCuenta()
End Sub
end class
but when I open several forms it shows a records, but when I navigate in a form, all of them navigate too.
how can I make them independent but point to the same dataset?...
thanks a lot
P.D.-excuse me for my bad english