i am getting an error as "object reference not set to an instance of an object" in the third line of this code. what are the possible reasons?
Dim table As New DataTable()
Me.bindingSource1.DataSource = table
Me.bindingSource1 = DataGridView1.DataSource
table = Me.bindingSource1.DataSource
i just need to know the possible reasons