If a DataTable inside a DataSet has a primary key, that column is unique and Fill gets the data only once for multiple calls, without previous cleaning the table. If there is not a primary key, Fill appends the data for every call. If you have a unique constraint, second call will fail. Therefore it's necessary to clean the DataTable before calling Fill.
2012-05-15
Abonați-vă la:
Postări (Atom)



