2012-05-15

Dataset Fill

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.

Niciun comentariu: