This article will help you to understand how you can extend the DataGridView class. To provide edit functionality in DataGridView it is very much necessary to provide various controls inside DataGridView. Many readers have asked me to provide code so that they can use it with their existing application.
I am using DataGridView since long and sometime default functionality provided is very limited for DataGridView. I have extended Data Grid View for additional functionality.