Problem importing own class

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi!

I have created an own class to access to databases, called database. I would
like
to create an object of this class in an aspx page, but when i try to do it i
get an error that it cannot find the simbol.
I'm using vs 2003, How can i resolve this problem??

Thank you very much.

<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="mostrarempresa.aspx.vb" Inherits="otri.mostrarempresa"%>
<%@ import namespace="System.Data.SqlClient.SqlDataReader"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>mostrarempresa</title>
<%
Dim id,consulta as String
Dim bd asDataBase
Dim dr as DataReader()
id=Request.querystring("id")

bd=new DataBase

consulta="select * from ......."
db.query(consulta)

%>
 
Back
Top