Logo 
Search:

Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds

dataset is duplicatng the data

  Asked By: Lorraine    Date: Apr 09    Category: Asp.net    Views: 5311
  

I have one method that executes a SQL stmt in the database and then fill my
dataset.

this method fills a table named "Cities" when i call this method for the second
time, it duplicate all the data inside the datatable.

I read in the documentation that i shoud use the MissingSchemaAction property
os the dataadapter object.

But it dont work since the fields that i´m selecting dont are prmary keys.

anyone can help me?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on dataset is duplicatng the data Or get search suggestion and latest updates.




Tagged: