|
-
January 6th, 2011, 08:53 AM
#1
[Help] Listview won't refresh
Hey, I could use some help.
I have two windows forms. On the second form I select an item that is added to a list of items in a database, this works perfectly. After it has been added I close the second form and I want the listview on the first form to be refreshed. But the listview turns up completly blank, not even the columnheaders appear. I know the function fillListView() works as well because I've used it elsewhere.
This is my code, I think there is something I'm missing here:
Try
Dim oForm As New AddToList(moList)
oForm.ShowDialog()
lvwDetailsList.Clear()
fillListView()
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
'End code
Some help would be great.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|