12

What is the total number of records that can be fetched in a ADO.NET data-table?

3
  • 2
    Probably (size of your memory / avg. size per row)
    – halfdan
    Sep 13, 2010 at 10:58
  • The answer that @psubsee2003 was referring to was deleted, the currently accepted answer should be correct.
    – Chuu
    Jan 7, 2015 at 21:58
  • @Chuu thanks for the ping. I have deleted my comment Jan 7, 2015 at 22:00

1 Answer 1

30

According to the documentation, the limit is 16,777,216 rows.

1
  • 1
    What will happen if the Datatable row exceeds the limit, Any exception will be thrown
    – Venkat
    Jul 12, 2016 at 5:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.