Home All Groups Group Topic Archive Search About

Can't use DataTable class

Author
22 Sep 2005 9:16 AM
Bodil, Norway
Hi,

I can't use datatable!
I try to write:

Dim myDataTable As DataTable = New DataTable("ParentTable")

I then get " Type expected" for the DataTable.
I have included "Imports System.Data"
(Tried Imports System.DataTable)
I have installed Framework 1.1, but if I look in "About Vb.net"  it stands
framework 1.0. I have Visual basic .net 2002 (ver 7.0 I think).
Is it to old, is there something else I have to do?

Is there an other way do show the user a table with content of an array !?

Best Regard

-bodil-

Author
22 Sep 2005 1:05 PM
Jeff Johnson [MVP: VB]
"Bodil, Norway" <BodilNor***@discussions.microsoft.com> wrote in message
news:2FF23E26-13BF-49E9-8FCC-2DAB4E2D7F48@microsoft.com...

> I can't use datatable!

This is a VB "classic" newsgroup. Questions about VB.NET (including VB 2005,
which has dropped .NET from its name) are off-topic here.

Please ask .NET questions in newsgroups with "dotnet" in their names. The
*.vb.* groups are for VB6 and earlier. If you don't see the *.dotnet.*
groups on your news server, connect directly to the Microsoft server:
msnews.microsoft.com.
Author
22 Sep 2005 1:29 PM
Bodil, Norway
Oh, sorry....
I thought VB newsgroup included all VB "things"
Won't happend again....

Show quoteHide quote
"Jeff Johnson [MVP: VB]" wrote:

>
> "Bodil, Norway" <BodilNor***@discussions.microsoft.com> wrote in message
> news:2FF23E26-13BF-49E9-8FCC-2DAB4E2D7F48@microsoft.com...
>
> > I can't use datatable!
>
> This is a VB "classic" newsgroup. Questions about VB.NET (including VB 2005,
> which has dropped .NET from its name) are off-topic here.
>
> Please ask .NET questions in newsgroups with "dotnet" in their names. The
> *.vb.* groups are for VB6 and earlier. If you don't see the *.dotnet.*
> groups on your news server, connect directly to the Microsoft server:
> msnews.microsoft.com.
>
>
>