I can't seem to figure out what's going on here:
EDIT: Let's try this... here's an outline of my code...
Class form1
Dim table1 as DataTable
Sub refreshdata()
table1.load() 'this puts data in table1
End Sub
Sub sub1 ()
msgbox(table1.rows.count) 'this returns the number 15
End Sub
Sub combobox_closed (ByVal...) Handles ComboBox1.DropDownClosed
msgbox(table1.rows.count) 'this returns the NullReferenceException
So what's the difference between the last two subs? Why can one access the table and not the other?