新手提问,这个找不到资源的错误是什意思?
分析器错误信息: 找不到文件或程序集名称“SimpleControlSamplesVB”,或找不到它的一个依赖项。
Simple.aspx文件:
<%@ Register TagPrefix="SimpleControlSamples" Namespace="SimpleControlSamples" Assembly="SimpleControlSamplesVB" %>
<html>
<body>
<form method="POST" action="Simple.aspx" runat=server ID="Form1">
<SimpleControlSamples:SimpleVB id="MyControl" runat=server/>
</form>
</body>
</html>
SimpleControlSamplesVB.vb:
Imports System
Imports System.Web
Imports System.Web.UI
Namespace SimpleControlSamples
Public Class SimpleVB : Inherits Control
Protected Overrides Sub Render(ByVal Output As HtmlTextWriter)
Output.Write("<H2>欢迎使用控件开发!</H2>")
End Sub
End Class
End Namespace
问题点数:10、回复次数:2Top
1 楼losedxyz(我真的一无所有)回复于 2006-03-04 17:58:36 得分 0
没人么 ?恳请各位指教Top
2 楼exboy(kuku)回复于 2006-03-04 17:58:36 得分 0
你是用什么开发?手写?
要把 SimpleControlSamplesVB DLL 复制到网站的 bin 目录下面?Top




