|
 |
aspx thread: ODBC .NET Provider (ODBC* objects undefined)
Message #1 by "Marni Alvarez" <marni@f...> on Mon, 22 Apr 2002 22:57:02 -0700
|
|
Can anyone help? I installed ODBC.NET Provider but I am not able to use the
objects in my aspx code. I am getting this error: error BC30002: Type
'OdbcConnection' is not defined.
Here is my code below. Any ideas?
<%@ Import Namespace="Microsoft.Data.Odbc" %>
<script language="VB" runat="server">
Public Sub Page_Load(Sender As Object, E As EventArgs)
Dim conn As New OdbcConnection("DRIVER
{MySQL};SERVER=localhost;DATABASE=test;UID=marni")
Dim cmd As OdbcCommand
conn.Open()
cmd = New OdbcCommand("select * from mytable", conn)
....
Thanks in advance,
Marni
Message #2 by "Samuel Engelman" <samuel_engelman@p...> on Tue, 23 Apr 2002 09:13:35 -0400
|
|
Did you add the refernece to the dll?
|---------+--------------------------------------->
| | "Marni Alvarez" |
| | <marni@f...> |
| | |
| | |
| | Tuesday April 23, 2002 01:57 AM |
| | Please respond to "ASP+" |
| | |
|---------+--------------------------------------->
>---------------------------------------------------------------------------------------------------|
| |
| To: "ASP+" <aspx@p...> |
| cc: |
| Subject: [aspx] ODBC .NET Provider (ODBC* objects undefined) |
>---------------------------------------------------------------------------------------------------|
Can anyone help? I installed ODBC.NET Provider but I am not able to use
the
objects in my aspx code. I am getting this error: error BC30002: Type
'OdbcConnection' is not defined.
Here is my code below. Any ideas?
<%@ Import Namespace="Microsoft.Data.Odbc" %>
<script language="VB" runat="server">
Public Sub Page_Load(Sender As Object, E As EventArgs)
Dim conn As New OdbcConnection("DRIVER
{MySQL};SERVER=localhost;DATABASE=test;UID=marni")
Dim cmd As OdbcCommand
conn.Open()
cmd = New OdbcCommand("select * from mytable", conn)
....
Thanks in advance,
Marni
Message #3 by "Marni Alvarez" <marni@f...> on Tue, 23 Apr 2002 09:31:33 -0700
|
|
Hi Samuel,
I checked the Global Assembly Cache using gacutil /l and sure enough, the
Microsoft.Data.Odbc assembly is registered.
However, when I display the detailed compiler output I see the line:
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
Files\root\2135a508\8d69a834\tj7gniyl.0.vb(14) : error BC30466: Namespace or
type 'Odbc' for the Imports 'Microsoft.Data.Odbc' cannot be found.
Imports Microsoft.Data.Odbc
My code is: <%@ Import Namespace="Microsoft.Data.Odbc" %>
I tried a few others and it seems some of these are also registered but not
accessible. For example, System.Design and System.DirectoryServices are
both registered but I get the same error when I try to import them into my
aspx.
I don't know if this is important, but here are the contects of my
gacutil.exe.config:
<?xml version ="1.0"?>
<configuration>
<startup>
<requiredRuntime version="v1.0.3705" />
</startup>
</configuration>
I tried including the line <!-- METADATA TYPE="typelib" FILE="C:\Program
Files\Microsoft.NET\Odbc.Net\Microsoft.Data.Odbc.dll" --> but I doubt this
is going to work because it's an ASP 3.0 syntax. I don't know how to
reference the DLL in ASP.NET. But I shouldn't have to do this, right?
Thanks for helping!
Marni
----- Original Message -----
From: "Samuel Engelman" <samuel_engelman@p...>
To: "ASP+" <aspx@p...>
Sent: Tuesday, April 23, 2002 6:13 AM
Subject: [aspx] Re: ODBC .NET Provider (ODBC* objects undefined)
>
> Did you add the refernece to the dll?
>
>
> |---------+--------------------------------------->
> | | "Marni Alvarez" |
> | | <marni@f...> |
> | | |
> | | |
> | | Tuesday April 23, 2002 01:57 AM |
> | | Please respond to "ASP+" |
> | | |
> |---------+--------------------------------------->
>
>---------------------------------------------------------------------------
------------------------|
> |
|
> | To: "ASP+"
<aspx@p...> |
> | cc:
|
> | Subject: [aspx] ODBC .NET Provider (ODBC* objects undefined)
|
>
>---------------------------------------------------------------------------
------------------------|
>
>
>
>
> Can anyone help? I installed ODBC.NET Provider but I am not able to use
> the
> objects in my aspx code. I am getting this error: error BC30002: Type
> 'OdbcConnection' is not defined.
>
> Here is my code below. Any ideas?
>
> <%@ Import Namespace="Microsoft.Data.Odbc" %>
>
> <script language="VB" runat="server">
> Public Sub Page_Load(Sender As Object, E As EventArgs)
> Dim conn As New OdbcConnection("DRIVER
> {MySQL};SERVER=localhost;DATABASE=test;UID=marni")
> Dim cmd As OdbcCommand
> conn.Open()
> cmd = New OdbcCommand("select * from mytable", conn)
> ....
>
> Thanks in advance,
> Marni
>
>
>
>
>
>
Message #4 by "Samuel Engelman" <samuel_engelman@p...> on Tue, 23 Apr 2002 13:16:32 -0400
|
|
In your Visual Studio project you must add the dll to your project
references. To do this right click on References in the Solution Explorer
and click add reference. Then find the correct dll and add it.
|---------+--------------------------------------->
| | "Marni Alvarez" |
| | <marni@f...> |
| | |
| | |
| | Tuesday April 23, 2002 12:31 PM |
| | Please respond to "ASP+" |
| | |
|---------+--------------------------------------->
>---------------------------------------------------------------------------------------------------|
| |
| To: "ASP+" <aspx@p...> |
| cc: |
| Subject: [aspx] Re: ODBC .NET Provider (ODBC* objects undefined) |
>---------------------------------------------------------------------------------------------------|
Hi Samuel,
I checked the Global Assembly Cache using gacutil /l and sure enough, the
Microsoft.Data.Odbc assembly is registered.
However, when I display the detailed compiler output I see the line:
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
Files\root\2135a508\8d69a834\tj7gniyl.0.vb(14) : error BC30466: Namespace
or
type 'Odbc' for the Imports 'Microsoft.Data.Odbc' cannot be found.
Imports Microsoft.Data.Odbc
My code is: <%@ Import Namespace="Microsoft.Data.Odbc" %>
I tried a few others and it seems some of these are also registered but not
accessible. For example, System.Design and System.DirectoryServices are
both registered but I get the same error when I try to import them into my
aspx.
I don't know if this is important, but here are the contects of my
gacutil.exe.config:
<?xml version ="1.0"?>
<configuration>
<startup>
<requiredRuntime version="v1.0.3705" />
</startup>
</configuration>
I tried including the line <!-- METADATA TYPE="typelib" FILE="C:\Program
Files\Microsoft.NET\Odbc.Net\Microsoft.Data.Odbc.dll" --> but I doubt this
is going to work because it's an ASP 3.0 syntax. I don't know how to
reference the DLL in ASP.NET. But I shouldn't have to do this, right?
Thanks for helping!
Marni
----- Original Message -----
From: "Samuel Engelman" <samuel_engelman@p...>
To: "ASP+" <aspx@p...>
Sent: Tuesday, April 23, 2002 6:13 AM
Subject: [aspx] Re: ODBC .NET Provider (ODBC* objects undefined)
>
> Did you add the refernece to the dll?
>
>
> |---------+--------------------------------------->
> | | "Marni Alvarez" |
> | | <marni@f...> |
> | | |
> | | |
> | | Tuesday April 23, 2002 01:57 AM |
> | | Please respond to "ASP+" |
> | | |
> |---------+--------------------------------------->
>
>
---------------------------------------------------------------------------
------------------------|
> |
|
> | To: "ASP+"
<aspx@p...> |
> | cc:
|
> | Subject: [aspx] ODBC .NET Provider (ODBC* objects undefined)
|
>
>
---------------------------------------------------------------------------
------------------------|
>
>
>
>
> Can anyone help? I installed ODBC.NET Provider but I am not able to use
> the
> objects in my aspx code. I am getting this error: error BC30002: Type
> 'OdbcConnection' is not defined.
>
> Here is my code below. Any ideas?
>
> <%@ Import Namespace="Microsoft.Data.Odbc" %>
>
> <script language="VB" runat="server">
> Public Sub Page_Load(Sender As Object, E As EventArgs)
> Dim conn As New OdbcConnection("DRIVER
> {MySQL};SERVER=localhost;DATABASE=test;UID=marni")
> Dim cmd As OdbcCommand
> conn.Open()
> cmd = New OdbcCommand("select * from mytable", conn)
> ....
>
> Thanks in advance,
> Marni
>
>
>
>
>
>
Message #5 by "Marni Alvarez" <marni@f...> on Tue, 23 Apr 2002 10:35:56 -0700
|
|
Hmmm. I don't seem to have References when I right-click on my Solution
Explorer. I bought Visual Studio .NET C++ Standard Edition. I'm wondering
if this is a problem, do I need the VB or C# versions maybe?
In fact, my version doesn't actually allow me to add an ASP.NET project. So
I've just been putting my aspx files into an empty solution.
Marni
----- Original Message -----
From: "Samuel Engelman" <samuel_engelman@p...>
To: "ASP+" <aspx@p...>
Sent: Tuesday, April 23, 2002 10:16 AM
Subject: [aspx] Re: ODBC .NET Provider (ODBC* objects undefined)
>
> In your Visual Studio project you must add the dll to your project
> references. To do this right click on References in the Solution Explorer
> and click add reference. Then find the correct dll and add it.
>
>
>
>
> |---------+--------------------------------------->
> | | "Marni Alvarez" |
> | | <marni@f...> |
> | | |
> | | |
> | | Tuesday April 23, 2002 12:31 PM |
> | | Please respond to "ASP+" |
> | | |
> |---------+--------------------------------------->
>
>---------------------------------------------------------------------------
------------------------|
> |
|
> | To: "ASP+"
<aspx@p...> |
> | cc:
|
> | Subject: [aspx] Re: ODBC .NET Provider (ODBC* objects
undefined) |
>
>---------------------------------------------------------------------------
------------------------|
>
>
>
>
> Hi Samuel,
>
> I checked the Global Assembly Cache using gacutil /l and sure enough, the
> Microsoft.Data.Odbc assembly is registered.
>
> However, when I display the detailed compiler output I see the line:
> C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
> Files\root\2135a508\8d69a834\tj7gniyl.0.vb(14) : error BC30466: Namespace
> or
> type 'Odbc' for the Imports 'Microsoft.Data.Odbc' cannot be found.
> Imports Microsoft.Data.Odbc
>
> My code is: <%@ Import Namespace="Microsoft.Data.Odbc" %>
>
> I tried a few others and it seems some of these are also registered but
not
> accessible. For example, System.Design and System.DirectoryServices are
> both registered but I get the same error when I try to import them into my
> aspx.
>
> I don't know if this is important, but here are the contects of my
> gacutil.exe.config:
> <?xml version ="1.0"?>
> <configuration>
> <startup>
> <requiredRuntime version="v1.0.3705" />
> </startup>
> </configuration>
>
> I tried including the line <!-- METADATA TYPE="typelib" FILE="C:\Program
> Files\Microsoft.NET\Odbc.Net\Microsoft.Data.Odbc.dll" --> but I doubt this
> is going to work because it's an ASP 3.0 syntax. I don't know how to
> reference the DLL in ASP.NET. But I shouldn't have to do this, right?
>
> Thanks for helping!
> Marni
>
> ----- Original Message -----
> From: "Samuel Engelman" <samuel_engelman@p...>
> To: "ASP+" <aspx@p...>
> Sent: Tuesday, April 23, 2002 6:13 AM
> Subject: [aspx] Re: ODBC .NET Provider (ODBC* objects undefined)
>
>
> >
> > Did you add the refernece to the dll?
> >
> >
> > |---------+--------------------------------------->
> > | | "Marni Alvarez" |
> > | | <marni@f...> |
> > | | |
> > | | |
> > | | Tuesday April 23, 2002 01:57 AM |
> > | | Please respond to "ASP+" |
> > | | |
> > |---------+--------------------------------------->
> >
> >
> --------------------------------------------------------------------------
-
> ------------------------|
> > |
> |
> > | To: "ASP+"
> <aspx@p...> |
> > | cc:
> |
> > | Subject: [aspx] ODBC .NET Provider (ODBC* objects undefined)
> |
> >
> >
> --------------------------------------------------------------------------
-
> ------------------------|
> >
> >
> >
> >
> > Can anyone help? I installed ODBC.NET Provider but I am not able to use
> > the
> > objects in my aspx code. I am getting this error: error BC30002: Type
> > 'OdbcConnection' is not defined.
> >
> > Here is my code below. Any ideas?
> >
> > <%@ Import Namespace="Microsoft.Data.Odbc" %>
> >
> > <script language="VB" runat="server">
> > Public Sub Page_Load(Sender As Object, E As EventArgs)
> > Dim conn As New OdbcConnection("DRIVER
> > {MySQL};SERVER=localhost;DATABASE=test;UID=marni")
> > Dim cmd As OdbcCommand
> > conn.Open()
> > cmd = New OdbcCommand("select * from mytable", conn)
> > ....
> >
> > Thanks in advance,
> > Marni
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
Message #6 by "Samuel Engelman" <samuel_engelman@p...> on Tue, 23 Apr 2002 14:52:25 -0400
|
|
Don't know anything about that version
|---------+--------------------------------------->
| | "Marni Alvarez" |
| | <marni@f...> |
| | |
| | |
| | Tuesday April 23, 2002 01:35 PM |
| | Please respond to "ASP+" |
| | |
|---------+--------------------------------------->
>---------------------------------------------------------------------------------------------------|
| |
| To: "ASP+" <aspx@p...> |
| cc: |
| Subject: [aspx] Re: ODBC .NET Provider (ODBC* objects undefined) |
>---------------------------------------------------------------------------------------------------|
Hmmm. I don't seem to have References when I right-click on my Solution
Explorer. I bought Visual Studio .NET C++ Standard Edition. I'm wondering
if this is a problem, do I need the VB or C# versions maybe?
In fact, my version doesn't actually allow me to add an ASP.NET project.
So
I've just been putting my aspx files into an empty solution.
Marni
----- Original Message -----
From: "Samuel Engelman" <samuel_engelman@p...>
To: "ASP+" <aspx@p...>
Sent: Tuesday, April 23, 2002 10:16 AM
Subject: [aspx] Re: ODBC .NET Provider (ODBC* objects undefined)
>
> In your Visual Studio project you must add the dll to your project
> references. To do this right click on References in the Solution Explorer
> and click add reference. Then find the correct dll and add it.
>
>
>
>
> |---------+--------------------------------------->
> | | "Marni Alvarez" |
> | | <marni@f...> |
> | | |
> | | |
> | | Tuesday April 23, 2002 12:31 PM |
> | | Please respond to "ASP+" |
> | | |
> |---------+--------------------------------------->
>
>
---------------------------------------------------------------------------
------------------------|
> |
|
> | To: "ASP+"
<aspx@p...> |
> | cc:
|
> | Subject: [aspx] Re: ODBC .NET Provider (ODBC* objects
undefined) |
>
>
---------------------------------------------------------------------------
------------------------|
>
>
>
>
> Hi Samuel,
>
> I checked the Global Assembly Cache using gacutil /l and sure enough, the
> Microsoft.Data.Odbc assembly is registered.
>
> However, when I display the detailed compiler output I see the line:
> C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
> Files\root\2135a508\8d69a834\tj7gniyl.0.vb(14) : error BC30466: Namespace
> or
> type 'Odbc' for the Imports 'Microsoft.Data.Odbc' cannot be found.
> Imports Microsoft.Data.Odbc
>
> My code is: <%@ Import Namespace="Microsoft.Data.Odbc" %>
>
> I tried a few others and it seems some of these are also registered but
not
> accessible. For example, System.Design and System.DirectoryServices are
> both registered but I get the same error when I try to import them into
my
> aspx.
>
> I don't know if this is important, but here are the contects of my
> gacutil.exe.config:
> <?xml version ="1.0"?>
> <configuration>
> <startup>
> <requiredRuntime version="v1.0.3705" />
> </startup>
> </configuration>
>
> I tried including the line <!-- METADATA TYPE="typelib" FILE="C:\Program
> Files\Microsoft.NET\Odbc.Net\Microsoft.Data.Odbc.dll" --> but I doubt
this
> is going to work because it's an ASP 3.0 syntax. I don't know how to
> reference the DLL in ASP.NET. But I shouldn't have to do this, right?
>
> Thanks for helping!
> Marni
>
> ----- Original Message -----
> From: "Samuel Engelman" <samuel_engelman@p...>
> To: "ASP+" <aspx@p...>
> Sent: Tuesday, April 23, 2002 6:13 AM
> Subject: [aspx] Re: ODBC .NET Provider (ODBC* objects undefined)
>
>
> >
> > Did you add the refernece to the dll?
> >
> >
> > |---------+--------------------------------------->
> > | | "Marni Alvarez" |
> > | | <marni@f...> |
> > | | |
> > | | |
> > | | Tuesday April 23, 2002 01:57 AM |
> > | | Please respond to "ASP+" |
> > | | |
> > |---------+--------------------------------------->
> >
> >
>
--------------------------------------------------------------------------
-
> ------------------------|
> > |
> |
> > | To: "ASP+"
> <aspx@p...> |
> > | cc:
> |
> > | Subject: [aspx] ODBC .NET Provider (ODBC* objects
undefined)
> |
> >
> >
>
--------------------------------------------------------------------------
-
> ------------------------|
> >
> >
> >
> >
> > Can anyone help? I installed ODBC.NET Provider but I am not able to
use
> > the
> > objects in my aspx code. I am getting this error: error BC30002: Type
> > 'OdbcConnection' is not defined.
> >
> > Here is my code below. Any ideas?
> >
> > <%@ Import Namespace="Microsoft.Data.Odbc" %>
> >
> > <script language="VB" runat="server">
> > Public Sub Page_Load(Sender As Object, E As EventArgs)
> > Dim conn As New OdbcConnection("DRIVER
> > {MySQL};SERVER=localhost;DATABASE=test;UID=marni")
> > Dim cmd As OdbcCommand
> > conn.Open()
> > cmd = New OdbcCommand("select * from mytable", conn)
> > ....
> >
> > Thanks in advance,
> > Marni
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
Message #7 by "Marni Alvarez" <marni@f...> on Tue, 23 Apr 2002 13:08:43 -0700
|
|
I got an answer from another newsgroup. Someone from Microsoft tols me I
needed to import the namespace like this:
<!--StartFragment--><%@ CompilerOptions='/R:"C:\Program
Files\Microsoft.NET\Odbc.Net\Microsoft.data.odbc.dll"' %>
<%@ Import Namespace = "Microsoft.Data.Odbc" %>
It works fine now!
----- Original Message -----
From: "Samuel Engelman" <samuel_engelman@p...>
To: "ASP+" <aspx@p...>
Sent: Tuesday, April 23, 2002 11:52 AM
Subject: [aspx] Re: ODBC .NET Provider (ODBC* objects undefined)
>
> Don't know anything about that version
>
>
> |---------+--------------------------------------->
> | | "Marni Alvarez" |
> | | <marni@f...> |
> | | |
> | | |
> | | Tuesday April 23, 2002 01:35 PM |
> | | Please respond to "ASP+" |
> | | |
> |---------+--------------------------------------->
>
>---------------------------------------------------------------------------
------------------------|
> |
|
> | To: "ASP+"
<aspx@p...> |
> | cc:
|
> | Subject: [aspx] Re: ODBC .NET Provider (ODBC* objects
undefined) |
>
>---------------------------------------------------------------------------
------------------------|
>
>
>
>
> Hmmm. I don't seem to have References when I right-click on my Solution
> Explorer. I bought Visual Studio .NET C++ Standard Edition. I'm
wondering
> if this is a problem, do I need the VB or C# versions maybe?
>
> In fact, my version doesn't actually allow me to add an ASP.NET project.
> So
> I've just been putting my aspx files into an empty solution.
>
> Marni
>
> ----- Original Message -----
> From: "Samuel Engelman" <samuel_engelman@p...>
> To: "ASP+" <aspx@p...>
> Sent: Tuesday, April 23, 2002 10:16 AM
> Subject: [aspx] Re: ODBC .NET Provider (ODBC* objects undefined)
>
>
> >
> > In your Visual Studio project you must add the dll to your project
> > references. To do this right click on References in the Solution
Explorer
> > and click add reference. Then find the correct dll and add it.
> >
> >
> >
> >
> > |---------+--------------------------------------->
> > | | "Marni Alvarez" |
> > | | <marni@f...> |
> > | | |
> > | | |
> > | | Tuesday April 23, 2002 12:31 PM |
> > | | Please respond to "ASP+" |
> > | | |
> > |---------+--------------------------------------->
> >
> >
> --------------------------------------------------------------------------
-
> ------------------------|
> > |
> |
> > | To: "ASP+"
> <aspx@p...> |
> > | cc:
> |
> > | Subject: [aspx] Re: ODBC .NET Provider (ODBC* objects
> undefined) |
> >
> >
> --------------------------------------------------------------------------
-
> ------------------------|
> >
> >
> >
> >
> > Hi Samuel,
> >
> > I checked the Global Assembly Cache using gacutil /l and sure enough,
the
> > Microsoft.Data.Odbc assembly is registered.
> >
> > However, when I display the detailed compiler output I see the line:
> > C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
> > Files\root\2135a508\8d69a834\tj7gniyl.0.vb(14) : error BC30466:
Namespace
> > or
> > type 'Odbc' for the Imports 'Microsoft.Data.Odbc' cannot be found.
> > Imports Microsoft.Data.Odbc
> >
> > My code is: <%@ Import Namespace="Microsoft.Data.Odbc" %>
> >
> > I tried a few others and it seems some of these are also registered but
> not
> > accessible. For example, System.Design and System.DirectoryServices are
> > both registered but I get the same error when I try to import them into
> my
> > aspx.
> >
> > I don't know if this is important, but here are the contects of my
> > gacutil.exe.config:
> > <?xml version ="1.0"?>
> > <configuration>
> > <startup>
> > <requiredRuntime version="v1.0.3705" />
> > </startup>
> > </configuration>
> >
> > I tried including the line <!-- METADATA TYPE="typelib" FILE="C:\Program
> > Files\Microsoft.NET\Odbc.Net\Microsoft.Data.Odbc.dll" --> but I doubt
> this
> > is going to work because it's an ASP 3.0 syntax. I don't know how to
> > reference the DLL in ASP.NET. But I shouldn't have to do this, right?
> >
> > Thanks for helping!
> > Marni
> >
> > ----- Original Message -----
> > From: "Samuel Engelman" <samuel_engelman@p...>
> > To: "ASP+" <aspx@p...>
> > Sent: Tuesday, April 23, 2002 6:13 AM
> > Subject: [aspx] Re: ODBC .NET Provider (ODBC* objects undefined)
> >
> >
> > >
> > > Did you add the refernece to the dll?
> > >
> > >
> > > |---------+--------------------------------------->
> > > | | "Marni Alvarez" |
> > > | | <marni@f...> |
> > > | | |
> > > | | |
> > > | | Tuesday April 23, 2002 01:57 AM |
> > > | | Please respond to "ASP+" |
> > > | | |
> > > |---------+--------------------------------------->
> > >
> > >
> >
> --------------------------------------------------------------------------
> -
> > ------------------------|
> > > |
> > |
> > > | To: "ASP+"
> > <aspx@p...> |
> > > | cc:
> > |
> > > | Subject: [aspx] ODBC .NET Provider (ODBC* objects
> undefined)
> > |
> > >
> > >
> >
> --------------------------------------------------------------------------
> -
> > ------------------------|
> > >
> > >
> > >
> > >
> > > Can anyone help? I installed ODBC.NET Provider but I am not able to
> use
> > > the
> > > objects in my aspx code. I am getting this error: error BC30002: Type
> > > 'OdbcConnection' is not defined.
> > >
> > > Here is my code below. Any ideas?
> > >
> > > <%@ Import Namespace="Microsoft.Data.Odbc" %>
> > >
> > > <script language="VB" runat="server">
> > > Public Sub Page_Load(Sender As Object, E As EventArgs)
> > > Dim conn As New OdbcConnection("DRIVER
> > > {MySQL};SERVER=localhost;DATABASE=test;UID=marni")
> > > Dim cmd As OdbcCommand
> > > conn.Open()
> > > cmd = New OdbcCommand("select * from mytable", conn)
> > > ....
> > >
> > > Thanks in advance,
> > > Marni
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
|
|
 |