PERFECT.
That worked nicely.
I wonder how it was not given in the Wrox book!!!

Thanks.
==============================

On Mar 30, 1:15 pm, Benj Nunez <[email protected]> wrote:
> Add this line in your vb.net code:
>
> Imports System.Windows.Forms
>
> Cheers!
>
> Benj
>
> On Mar 30, 12:24 pm, vineet <[email protected]> wrote:
>
>
>
> > I have started learning VB2005 through book : Beginning VB2005 by
> > Wrox.
>
> > I have VS2005 and MySQL 5.1 with dotnet connector installed.
>
> > I have tried to declare & instantiate an object from
> > DataGridViewCellStyle class through the following code:
>
> > Dim objAlignRightCellStyle As New DataGridViewCellStyle
>
> > I have imported mysql.data.mysqlclient and system.data namespaces.
>
> > But still the DataGridViewCellStyle class is not visible in the
> > intellisense.
>
> > Instead, DataGridViewCellStyleScope class is there.
>
> > Can you pl. help !- Hide quoted text -
>
> - Show quoted text -

Reply via email to