per recommendation, code is used directly from the book's download.
please explain why this error is occurring.
Code:
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using V2.PaidTimeOffBLL.Framework;
public partial class Administration_Workflows : BasePage
{
private const int COL_INDEX_ACTION = 0;
private const int COL_INDEX_WORKFLOW_NAME = 1;
private const int COL_INDEX_OBJECT_NAME = 2;
protected void Page_Load(object sender, EventArgs e)
{
Master.AddButton_Click += new PaidTimeOffEditGrid.ButtonClickedHandler(Master_AddButton_Click);
if (!IsPostBack)
{
//Tell the control what class to create and what method to call to load the class.
cgvWorkflows.ListClassName = typeof(ENTWorkflowEOList).AssemblyQualifiedName;
cgvWorkflows.LoadMethodName = "Load";
}
}
and here's what it's referring to, showing there IS a ENTWorkflowEOList there:
Code:
[Serializable()]
public class ENTWorkflowEOList : ENTBaseEOList<ENTWorkflowEO>
{
public override void Load()
{
LoadFromList(new ENTWorkflowData().Select());
}
private void LoadFromList(List<ENTWorkflow> eNTWorkflows)
{
if (eNTWorkflows.Count > 0)
{
foreach (ENTWorkflow eNTWorkflow in eNTWorkflows)
{
ENTWorkflowEO newENTWorkflowEO = new ENTWorkflowEO();
newENTWorkflowEO.MapEntityToProperties(eNTWorkflow);
this.Add(newENTWorkflowEO);
}
}
}
}
}
the same thing happens with ALL of the "workflow" pages that you try to add to the solution under that Admin folder.