By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,651 Members | 1,727 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,651 IT Pros & Developers. It's quick & easy.

Filling Oracle Dataset

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Cor
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?
Nov 20 '05 #2

P: n/a
I figured it out...you have to Clear the dataset of the old records before filling it.

data_set.Clear()
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.