You can get the DataRowView from BindingSource.current, then The Dataview, then Find the row
Dim Rv = TryCast(QuoteBindingSource
if Rv isnot nothing then
Dim v = rv.DataView
Dim colpos = v.Table.Columns("QuotesID"
For n = 0 To v.Count - 1
If v(n)(colpos ).Equals(ValueToFind) Then QuoteBindingSource.Positio
Next
end if
Main Topics
Browse All Topics





by: CodeCruiserPosted on 2009-11-05 at 08:50:19ID: 25751385
Because it is a relation, the QuoteBindingSource is only populated with quotes related to currently selected project. To be able to search this, you first need to position the ProjectBindingSource to the related projectid and then you can do the find on the quotes.