Let us say that that I have a Table in an Access database that is called MyItems:
And that I have a class called TheItem:
If I have an array of TheItem objects called MyItemArray()...
How would I be able to
Thanks.
VB.NET:
+--------------+------------+------------+
| Name (String)| X (Number) | Y (Number) |
+--------------+------------+------------+
VB.NET:
Class TheItem
Sub New(Name as String, X as Integer, Y as Integer)
Property Name as String
Property X as Integer
Property Y as Integer
End Class
If I have an array of TheItem objects called MyItemArray()...
How would I be able to
- Delete all of the existing rows in the table MyItems?
- Create a new row in the table MyItems for each TheItem object in MyItemArray?
Thanks.
Last edited: