I need to create a lot of datatables on the fly.
If a datatable already exists because I already created it, I will add a row to it. If it does not exist yet, I will create it and then add a row to it.
The datatable name is a variable, which comes from another datatable. Let’s say it’s like this
strTableName = “dt” + row.Item(“int column”).toString
So it would result in this
strTableName = “dt12345”
Now I want to test if dt12345 already exists or not. I have the name, but it is inside the string variable strTableName
Any help with how I can accomplish this?