I have a table which contains InvNo,product,............
Another table 'Product' contains Type,subtype,....,InvNo
I have form which has Datagridview and textboxes
I want to what,
when i go to 1st record (InvNo=101),the datagridview should display how many product which has InvNo=101.
How can i bind Datagridview to currencyManager??
Plz help me.............
This is my code of binding
cmd = New OleDbCommand("select srNo from PurchaseProduct where InvNo=1")
'dtProduct = New DataTable
'dtProduct = ob.getDataTable(cmd)
'DataGridView1.DataSource = dtProduct
'DataGridView1.DataBindings.Add("DataMember", dtProduct, "srNo")
'cm1 = CType(Me.BindingContext(dtProduct), CurrencyManager)