J
Jon
hi,
"The type or namespace of 'Repeater1' could not be found..." when I try and
bind a repeater in the Page_Load event using Repeater1.DataSource = table etc.
It's all basic stuff copied from a book. The only reason I'm posting is that
the page class inherits from another one which is based on System.Web.UI.Page.
i.e. page.aspx -> page.aspx.cs (inherits websearch)
websearch.cs - class inherits from System.Web.UI.Page.
This allows me to use a standard library in every page that inherits from the
websearch class but still access all the Page objects in the codebehind.
*But* is there something I need to add to reference aspx objects like my
repeater? BTW my page can access all my class properties etc.
thanks,
Jon
"The type or namespace of 'Repeater1' could not be found..." when I try and
bind a repeater in the Page_Load event using Repeater1.DataSource = table etc.
It's all basic stuff copied from a book. The only reason I'm posting is that
the page class inherits from another one which is based on System.Web.UI.Page.
i.e. page.aspx -> page.aspx.cs (inherits websearch)
websearch.cs - class inherits from System.Web.UI.Page.
This allows me to use a standard library in every page that inherits from the
websearch class but still access all the Page objects in the codebehind.
*But* is there something I need to add to reference aspx objects like my
repeater? BTW my page can access all my class properties etc.
thanks,
Jon