Copies a DataRow into a DataTable, preserving any property settings, as well as original and current values.
Public Sub ImportRow ( _ row As DataRow _ )
Dim instance As DataTable Dim row As DataRow instance.ImportRow(row)
public void ImportRow( DataRow row )
public: void ImportRow( DataRow^ row )
public function ImportRow( row : DataRow )
Calling NewRow adds a row to the table using the existing table schema, but with default values for the row, and sets the DataRowState to Added. Calling ImportRow preserves the existing DataRowState along with other values in the row. If the DataRow that is passed as a parameter is in a detached state, it is ignored, and no exception is thrown.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune