in gridview i have labels in columns. in footer row i have textboxes(multiline) .now if i enter multiline text then after clicking add on label i am getting a big single line.what to do
in source i am not getting wordwrap prop for label.
thank you in advance

You can press Shift+Enter to enter multiline text.

DataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.DisplayedCells
DataGridView1.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.DisplayedCells

DataGridView1.Columns(0).DefaultCellStyle.WrapMode = DataGridViewTriState.True
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.