Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

078274121, info0a ip, should prodicers of software_based services be held liable or not liable for economic injuries, should producers of soft ware based services such as ATMs be held liable for economic injuries suffered when their systems fail?, nisc wwwxxx, wwwxxx0cm, should producers of software-based services, such as atms, be held liable for economic injuries suffered when their systems fail?, wwwxxx0cm, www.webdp.net, Event 9 IIS log failed to write entry

Links

XODOX
Impressum

#1: Need direct navigation to a row in a BindingSource

Posted on 2008-04-23 00:47:01 by RafaelSoteldo

Hi there:

I need to get the position of a given DataRow to navigate directly to it
with a BindingSourceNavigator.

I have a BindingNavigator and several textboxes showing each field of
a given table.

I dragged the fields from the Data Sources window to the form in the designer.

As far as I know, the BindingSource lets you move first, next, to a
position..., so, what if I need to navigate directly to a row that has a
specific value in a field (for instance, "Carl" in the field "Name" in the
DataTable "People"). I suppose I should get the row position within the
DataTable, in order to set the BindingSource.Position and have the textboxes
show each piece of information.

Moreover, what if the DataSource is a DataView with filters set, how do I
get the position of that given row within this DataView?

Please, need help...

My best regards,

Rafael Soteldo

Report this message