The type or namespace name 'Database' could not be found...
ASP.Net WebForm, C#, Visual Studio, SQL Server connection
My code is something like this...
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Data.SqlClient;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
private void PopulateList()
{
// initialize the Database object
Database DataStore = new Database();
SqlDataReader dataReader = null;
...
DataStore.RunProc("CODES_SELECT_ALL", out dataReader);
while (dataReader.Read())
{ ...
}
}
C:\Inetpub\wwwroot\WebApplication1\...): The type or namespace name 'Database' could not be found (are you missing a using directive or an assembly reference?)
Any ideas for this rookie?