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()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top