Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Container.DataItem error

Status
Not open for further replies.

developer155

Programmer
Jan 21, 2004
512
US
I am getting the following error
The type or namespace name 'Container' could not be found (are you missing a using directive or an assembly reference?)


I have a repeater like this
sp:repeater id="Repeater1" runat="server">
<ItemTemplate>

<TD class=modTable align=middle><%=DataBinder.Eval(Container.DataItem("fNumBdrm"))%></TD>
<TD class=modTable align=middle><%=DataBinder.Eval(Container.DataItem,"fNumBath")%></TD>

I also include this in .aspx page
<%@ Import namespace="System.Data" %>

what is missing?

thanks
 
Could be missing the Namespace
System.ComponentModel
marty
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top