M
Mika M
Hi!
It's easy to add Columns into DataSet DataTable for example like this way
....
ds.Tables("MyTable").Columns.Add("MyColumn", GetType(Integer))
.... but how can I remove this column of the DataSet which was created
earlier by code? Do I have to create whole new DataSet table again?
I mean something like ds.Tables("MyTable").Columns.Remove("MyColumn") -
ofcource it's not possible to do like this way
I tried ... ds.Tables("MyTable").Columns("MyColumn").Dispose() ... but it
doesn't seem to do what I want.
It's easy to add Columns into DataSet DataTable for example like this way
....
ds.Tables("MyTable").Columns.Add("MyColumn", GetType(Integer))
.... but how can I remove this column of the DataSet which was created
earlier by code? Do I have to create whole new DataSet table again?
I mean something like ds.Tables("MyTable").Columns.Remove("MyColumn") -
ofcource it's not possible to do like this way
I tried ... ds.Tables("MyTable").Columns("MyColumn").Dispose() ... but it
doesn't seem to do what I want.