Is there a problem when I call SqlAdapter.Update and at the same time call SqlDataReader.Read

Posted by Ahmed Said on Stack Overflow See other posts from Stack Overflow or by Ahmed Said
Published on 2009-06-23T14:53:57Z Indexed on 2010/05/13 16:44 UTC
Read the original article Hit count: 266

I have two applications, one updates a single table which has constant number of rows (128 rows) using SqlDataAdapter.Update method , and another application that select from this table periodically using SqlDataReader.

sometimes the DataReader returns only 127 rows not 128, and the update application does not remove or even insert any new rows, it just update.

I am asking what is the cause of this behaviour?

© Stack Overflow or respective owner

Related posts about c#

Related posts about sqldatareader