
Originally Posted by
garry79
I'm trying to access the datagridview on a form who's object I've passed to a class but the class doesn't recognise the type datagridview.
Is there a particular namespace I need to declare on the class header before the a class instance can access it?
Thanks.
at the top of the code page:
vb Code:
Imports System.Windows.Forms
make sure you add a reference to the System.Windows.Forms.dll too