R
Ryan Liu
Hi,
Is that safe to say a Detached DataRow neve in a DataTable's Rows
collectoin?
But in my log file, I do see a Detached row:
foreach(DataRow dr in this.currentQuotaUserDt.Rows)
{
object temp = dr[quotaId.ToString()];
.....
}
throws exception : This row has been removed from a table and does not have
any data. BeginEdit() will allow creation of new data in this row.
So maybe this exception is caused by multiple threading, the statement I
made is still right?
Thanks a lot!
Ryan
Is that safe to say a Detached DataRow neve in a DataTable's Rows
collectoin?
But in my log file, I do see a Detached row:
foreach(DataRow dr in this.currentQuotaUserDt.Rows)
{
object temp = dr[quotaId.ToString()];
.....
}
throws exception : This row has been removed from a table and does not have
any data. BeginEdit() will allow creation of new data in this row.
So maybe this exception is caused by multiple threading, the statement I
made is still right?
Thanks a lot!
Ryan