I am new to VB and I want to inherit from DataGridView , I use something like
Public Class DataGridViewEx Inherits DataGridView End Class
But the compiler generates an error like End of statement expected , pointing to Inherits DataGridView . What is wrong and how should I do it?
source share