DataGridView Text cell

Hi there

I've made a form with a datagridview control hooked to a SQL Express DB. One of the cells I've made multiline, but I cant for the life of me work out how to actually place a CR/LF where ever I want in the text. As soon as I hit Enter, the editing finishes and the selected cell moves. Is there some other option somewhere that allows CRLF to be entered using the keyboard, like AcceptsReturn in a multiline textbox

Thanks
Dave




Answer this question

DataGridView Text cell

  • Imtiaz34639

    OK

    Everyone stop looking. I worked it out. You have to type <Shift> Enter to get a CRLF into the field.


  • DataGridView Text cell