>Kev,
>
>Well, the DataTable has a .Copy() method, but that's not what you want ... it copies the entire table, structure and data, to another table. There's no built-in methods for doing this on the DataRow level, AFAIK, but you could easily roll-your-own, probably by iterating through the columns collection and copying the common columns.
Thanks
Yes, I have already written it myself to go through each column, it's just that this process is being fired around 2,500 times, and I was wondering if it was causing a performance hit.
Kev
>~~Bonnie
>
>>Hi
>>
>>Is there a way of copying the contents of a DataRow from one DataSet to another DataRow?
>>
>>I have to similar tables which share common fields and would like to make an effortless copy over to each other.
>>
>>Thanks
>>Kev
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement