我的问题是启动时在DataGridView中加载的数据以及包含要在多行而不是HorizontalScroll上显示的大数据的单元格
Multiple lines isn't (easily) supported. You can adjust the Width with Grid.AutoSizeColumnmode and the FillWidth properties of each column.
As an alternative Idea, why not place a multiline textbox near the Grid abd databind that to the specific column? Would show more of the text, but 1 row at a time.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.