area-6.co.uk
DataGridViewHTMLCell - Displaying HTML markup in a DataGridView - Area-6 - Security and Code Snippets ༼ຈل͜ຈ༽
Displaying HTML markup in a DataGridView I recently wanted to display some HTML content in a DataGridView cell. However, after searching the web I wasn’t able to find anything that fitted my needs (i didn’t find anything). So I decided to investigate what was involved in writing a custom DataGridView Cell. Basically to create your own custom cell you need to create / derive from three base classes to do with the DataGridView control. These are: Derive a class from DataGridViewColumn Derive a class from DataGridViewCell Derive a class that implements the IDataGridViewEditingControl interface Below is a screen shot of …
antonello