Hello!
I use DataAdapter.Fill method to fill the dataset with data from a SQL database table. But when the same method is called for a second time subsequently, it appends the data instead of overwriting the duplicate rows in the table.
For example, i use DataAdapter.Fill(mydataset,"mytable"). the "mytable" has 50 rows and copies the same to "maytable" in mydataset. But after a subsequent call to DataAdapter.Fill(mydataset,"mytable"), the mytable in mydataset has 100 rows (i.e all the 50 rows duplicated).
Can anyone please tell me how to avoid that!!
I hope I have posted this in the right forum,else let me know...
Thank you!