Click to See Complete Forum and Search --> : setting RowStateFilter after updating


hspc
September 18th, 2004, 03:37 AM
Hi
I have a databound ListBox and I edit a row as follows :


DataRowView Row=((DataRowView)lst.SelectedItem);
Row.BeginEdit();
Row["name"]=frmEdit.txtName.Text;
Row.EndEdit();

After the EndEdit the edited item disappears from the list..
So I'm trying to set the RowStateFilter of the dataview (that the listbox is boud to) and tried several combinations of the DataViewRowState enum but I can't make all rows appear (unchanged/added/changed)

Any help ???