Read DataTable by RowState

Posted by RBrattas on Super User See other posts from Super User or by RBrattas
Published on 2010-04-24T18:18:19Z Indexed on 2010/04/24 18:23 UTC
Read the original article Hit count: 232

Filed under:

Hi,

I am reading my DataTable as follow:

foreach ( DataRow o_DataRow in vco_DataTable.Rows )
{
//Insert More Here
}

It crash; because I insert more records.

How can I read my DataTable without reading the new records?

Can I read by RowState?

Thank you for your excellence work, Rune

© Super User or respective owner

Related posts about data-validation