Filling Oracle Dataset

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I fill the same dataset table with new information from the database, instead of writing over
any previous data, the fill method appends to existing records in this dataset table. Is there a way
by which I can overwrite existing data in the dataset instead of appending to it?

Thanks,

Parveen
 
Hi Parveen
If I understand you well, than

I use before the fill for that
ds.clear
or
ds = new dataset

I asume it is not a merge

Cor
When I fill the same dataset table with new information from the database, instead of writing over
any previous data, the fill method appends to existing records in this dataset table. Is there a way
by which I can overwrite existing data in the dataset instead of appending
to it?
 
I figured it out...you have to Clear the dataset of the old records before filling it.

data_set.Clear()
 
Back
Top