Home All Groups Group Topic Archive Search About
Author
7 Jul 2006 5:34 PM
Tom_B
Running VB.Net

I pass a datatable from a form.list to a form.item and use a dataview to
show a selected row in text boxes.  The row to show usesthe dataview's filter
property with the selected row's row id.

This works fine except for a row that has been added.  The dataview
correctly indicates the selected row and has a count of 1.  However, the text
boxes are showing a different row.  The dataview's RowStateFilter is
CurrentRows.

Thanks.

Author
7 Jul 2006 5:42 PM
Marina Levit [MVP]
How is that data being bound in the textboxes?

Show quote
"Tom_B" <T***@discussions.microsoft.com> wrote in message
news:28493C71-5C38-4217-BFF7-E528D9CE8329@microsoft.com...
> Running VB.Net
>
> I pass a datatable from a form.list to a form.item and use a dataview to
> show a selected row in text boxes.  The row to show usesthe dataview's
> filter
> property with the selected row's row id.
>
> This works fine except for a row that has been added.  The dataview
> correctly indicates the selected row and has a count of 1.  However, the
> text
> boxes are showing a different row.  The dataview's RowStateFilter is
> CurrentRows.
>
> Thanks.
Author
7 Jul 2006 5:53 PM
Tom_B
The data is bound using the text box's DataBinding.Text field with DataView -
FieldName.

AddThis Social Bookmark Button