I have 2 variable I would like to display in one cell of a DataGridView.
Icon stockIcon;
Int stockStatus;
I already looked at http://msdn.microsoft.com/en-us/library/7tas5c80.aspx But I think its way to complicated and don’t show how to display to variables in one cell.
I don’t need the ability to edit, only display the two variables.
Could someone provide me with a small example?
I work in C# 4.0 and its a System.Windows.Forms.DataGridView
Here is my own solution. Just set the Column type to LagerStatusColumn and it gets the job done.