setting RowStateFilter after updating (ADO.NET/C#)
Database
1
Posts
1
Posters
0
Views
1
Watching
-
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 theDataViewRowState
enum but I can't make all rows appear (unchanged/added/changed) Any help ???