DataGridView c# doesn't show long length string value

344 Views Asked by At

I created many dynamically DataGridView in window form by using c# and gave them some values. One of my values is a string with about 30000 char(string length = 28447) my problem is that string don't display in cell. I tested with short length string and that was work but long length doesn't work.

DataGridViewRow row = (DataGridViewRow)Dgv.Rows[0].Clone();
row.Cells[0].Value = " Sequences" + (i + 1);
((DataGridViewTextBoxCell)row.Cells[1]).MaxInputLength = SequencesLenght * 3;  //Sequences length for my test is: 10000
row.Cells[1].Value = SequencesString[i];
Dgv.Rows.Add(row);

Thank you

0

There are 0 best solutions below