我自定义下面的控件:sayhello.vb
Imports System
Imports System.Web
Imports System.Web.UINamespace ch6 Public Class sayhello : Inherits Control
Protected Overrides Sub render(ByVal output As HtmlTextWriter)
output.Write("<h2><font color='blue'>")
output.Write("哈,asp.net程序</font></h2>")
End Sub End Class
End Namespace
用.net 2005生成dll,再增加到工具栏,插入页面,运行时提示:“sayhello”在命名空间“ch6”中不明确。这是为什么啊
Imports System
Imports System.Web
Imports System.Web.UINamespace ch6 Public Class sayhello : Inherits Control
Protected Overrides Sub render(ByVal output As HtmlTextWriter)
output.Write("<h2><font color='blue'>")
output.Write("哈,asp.net程序</font></h2>")
End Sub End Class
End Namespace
用.net 2005生成dll,再增加到工具栏,插入页面,运行时提示:“sayhello”在命名空间“ch6”中不明确。这是为什么啊
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货