<Acme:Address id="BillAddr" Caption="帐单地址" runat="server" />
   标记前缀:标记名称

解决方案 »

  1.   

    try to build your project in VS.NET first
      

  2.   

    <Acme:Address id="BillAddr" Caption="帐单地址" runat="server" />
       标记前缀:标记名称
      

  3.   

    to:思归,编译没有错误,在编辑模式下,WEBForm中显示的控件也没有错误,但一运行就出错
      

  4.   

    don't name your project as UserControl, you are confusing ASP.NET
      

  5.   

    to:思归,上面的代码全部是从microsoft提供的http://chs.gotdotnet.com/quickstart/aspplus/下载的,一个字都没有改,我还真不明白你所说的"don't name your project as UserControl, you are confusing ASP.NET"意思,还请多多指教
      

  6.   

    >>>>编译器错误信息: CS0234: 类型或命名空间名称“Global”在类或命名空间“System.Web.UI.UserControl”中不存在(是否缺少程序集引用?)“/study/UserControl" 项目也是原来就有的么?编译器以为"UserControl"指的是System.Web.UI里的一个类UserControl名把你的项目名改成别的名字
      

  7.   

    to:思归,“/study/UserControl" 项目是我自己建的一项目,在解决方案中将名称改了还是一样;
    抱歉,原代码是在http://chs.gotdotnet.com/quickstart/aspplus/页面的"ASP.NET Web 窗体"的"Web 窗体用户控件"的"pagelet3.aspx"