Recently I was investigating this question: Storing long values in DataGridView C#. After some tests I found out that the DataGridViewCell
will not display any text with a length larger than 43679 characters, even if the value is actually stored in the cell and you can access it programmatically.
Actually, this has also been reported as a bug for SQL Server Management Studio
: SSMS - Can not paste more than 43679 characters from a column in Grid Mode.
I guess that the limit is intended to prevent any overload on the UI rendering. But my questions are:
- Why this exact value is being used?
- Is there any documentation for this limit?