Link to home
Start Free TrialLog in
Avatar of Marcusw
Marcusw

asked on

delete datatable in dataset

hope fully an easy one

i have a datatable in my dataset

ds.Tables("Count")

i would like to comletely delete it, but cannot seem to work out how, i have tired dispose and reset but i am getting nowhere

the table is frequently refilled with different number.and names of columns, so i think this i my only alternative

thanks
Avatar of JackOfPH
JackOfPH
Flag of Philippines image

Try to set it to nothing

set ds = nothing
Avatar of Marcusw
Marcusw

ASKER

i need to keep the dataset i just need to delete the table.

ASKER CERTIFIED SOLUTION
Avatar of wsh2
wsh2

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial