У меня есть класс, называемый ContactList, который я делаю для экземпляра, но он утверждает, что он не существует. Класс находится в папке App_code, и у меня есть другие страницы, на которые я мог бы получить доступ к другим классам, только этот Работа.Код cant find class
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Data;
using System.Web.UI.WebControls;
namespace CSC237_SportsPro_Holmbeck
{
public partial class DisplayContact : System.Web.UI.Page
{
private ContactList list;
protected void Page_Load(object sender, EventArgs e)
{
list = ContactList.GetList();
if (!IsPostBack)
this.DisplayList();
}
private void DisplayList()
{
ContactListBox.Items.Clear();
for (int i = 0; i < list.Count; i++)
ContactListBox.Items.Add(this.list[i].Display());
}
С учетом ссылки на DLL класса? –