CodePudding user response:
CodePudding user response:
You can be flexible word in each row, remove the certain cell lineCodePudding user response:
The width of the cell can be horizontal pulling, cell inside the text will automatically adjust after (a line of automatic newline), is the line spacing is too small, don't know how to adjust, stuck in here, I try to adjust the font, line is high, the effect is not very goodCodePudding user response:
In the code dynamic binding height try
for(int i=0; i{
This. DataGridView1. Rows [I]. Height=100;
}
CodePudding user response:
Finally found the solution: set the rowdefaultcellstyle font for Microsoft black, size of four (a) casually, can increase the cell text line spacing,