Loading

Importing DataRow Objects into a Data Table

The

ImportRow

method is useful when the

 

Current

 

and Original

data row version must be maintained. For example, after editing a data

table, you might want to copy the changed

 

DataRow

objects to a different data table but

maintain the

 

 

Original and Current data row version. The ImportRow method on the

DataTable

 

object will import the

DataRow

objects as long as a data row with the same primary key does

not exist.

 

 

posted @ 2012-05-04 14:18  .net's  阅读(332)  评论(0)    收藏  举报