Today I've been asked about how to write text on the row header column of a Winform DataGrid (The first column of the grid). I know that it can be hidden with the RowHeadersVisible property, but I didn't know how to write on it.
The WinForms DataGrid hasn't got any property for write text on the row headers. The only way to do this is write a handler for the DataGrid's Paint event and then calculate where the row headers are and write the text using the DrawString method of the Graphics class.
Here you can find a complete source code example of writting text in the DataGrid's row headers.
I hope it helps.