Hi!
If I use myTable.QueryRecordCount = true with myDataTable.SelectCommand.CommandType = CommandType.StoredProcedure I recieve exception "Error on retrieving record count."
Can you help me?
QueryRecordCount and stored procedures
This is a designed behaviour. We can not support correct work of QueryRecordCount for CommandType.StoredProcedure because there is no possibility to find our the amount of records returned by function with the help of a separate query.
We have corrected the text of the error message to describe this limitation.
We have corrected the text of the error message to describe this limitation.