I want to know if there is any limit to the number of rows that we can add to a datatable. I do this in C # and .NET 2005. In fact, my application reads a large text file about 40 MB, the application reads the text file line by line and adds it as a line to the datatable after all the files have been read, and then calls the update method for updating data in the database.
I'm not sure how many rows we can add to the datatable. I just want to make my application safe from adding any error at any time if the file size increases again.
Thank.
source
share