Using VB 2010 Express
I have a dataset that contains a table I want to remove.
I used the code below but nothing happened.
When I clicked "Edit Dataset with Designer" after running the code below, the table was still there.
What do I need to do differently?
I have a dataset that contains a table I want to remove.
I used the code below but nothing happened.
When I clicked "Edit Dataset with Designer" after running the code below, the table was still there.
What do I need to do differently?
undefined Code:
If (Me.DeiDatabaseDataSet2.Tables.CanRemove(Me.DeiDatabaseDataSet2.ProspectTable)) Then MsgBox("Can delete this table") Me.DeiDatabaseDataSet2.Tables.Remove(Me.DeiDatabaseDataSet2.ProspectTable) Else MsgBox("CAN NOT delete this table") End If