T
Tony
Hello!
According to a book that I'm reading it says.
"The SqlDataAdapter determines the number of records affected by executing
the query and throws a DBConcurrencyException if the query did not modify
any rows. If the database does not report how many record were affected by
the query (reporting -1 instead) the SqlDataAdapter still assumes success."
Now to my question how is it possible that the SqlDataAdapter can return -1
?
I have tried to google for SqlDataAdapter returning -1 but haven't find any
answers.
//Tony
According to a book that I'm reading it says.
"The SqlDataAdapter determines the number of records affected by executing
the query and throws a DBConcurrencyException if the query did not modify
any rows. If the database does not report how many record were affected by
the query (reporting -1 instead) the SqlDataAdapter still assumes success."
Now to my question how is it possible that the SqlDataAdapter can return -1
?
I have tried to google for SqlDataAdapter returning -1 but haven't find any
answers.
//Tony