[Mono-list] Help with codebehind and xsp

Marc Boorshtein mboorshtein at gmail.com
Sun Oct 16 22:34:23 EDT 2005


This still doesn't seem to be working.  Here's my ASP.NET,
ViewProjectTasks.aspx:


<%@ Page language="c#"
       Codebehind=ViewProjectTasks.aspx.cs
       AutoEventWireup="false"
       Inherits="MyNS.ViewProjectTasks" %>

<%@ Assembly name="ByteFX.Data" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="MyNS" %>

<Html>
.
.
.


here's my ViewProjectTasks.aspx.cs:
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;

namespace MyNS {
    public class ViewProjectTasks : System.Web.UI.Page {

        IDbConnection mycon;
        protected Repeater mytable;

        void Page_Load() {
.
.
.

When I run the page, i get the follwing error:

"Error compiling a resource required to service this request. Review
your source file and modify it to fix this error."

and this is the highlited line:

" public class MyNS.ViewProjectTasks : System.Web.UI.Page,
System.Web.SessionState.IRequiresSessionState {"

Now I would think that this class declaration should read

"public class ViewProjectTasks : MyNS.ViewProjectTasks,
System.Web.SessionState.IRequiresSessionState {"

instead.  Am I missing something?  No matter what I do, this doesn't
seem to want to work.

Thanks
Marc


More information about the Mono-list mailing list