racheal

racheal

  • NA
  • 2
  • 0

Refresh in ListView

Jul 31 2005 9:54 PM
Hi there,

  Anyone know how should i make the data that just added display in the list view immediately?or how should i see the changes (delete/add record) from the list view immediately? I guess is using Refresh(), but this seems not working, or the refresh() below contain any error? Please advice.

private void refresh()

{

//clear the contents of dataset

this.dataset1.Clear();

this.da.Fill(this.dataset1, "employee");

}

Thanks.