Connecting Tech Pros Worldwide Forums | Help | Site Map

List Box Losing Last Line on Binded Data Table Update

Bob
Guest
 
Posts: n/a
#1: Nov 15 '05
Background

1. I create a data table that has one primary key and one unique column with other columns as well

2. I then Bind it to my list countrol setting the DataSource to my table name and my display column t
my Primary key column

3. When I need to update the table, I use a Begin Update on the row

4. Make my changes to the non key field

5. Do an end update to accept the changes (reject changes on an expection)

At which time on a good change I lose the very last row of my list control. Does not matter what row I am updating, the last row always disappears on a valid change. If I hit an exception everything is ok. In all cases the table iteself is updated correctly

I have tries "update", rebinding, and validating the list control.

Any ideas


Closed Thread