1\我生成了一个windows控件 RandomNumberImage.dll
2\在demo.aspx中添加:
<OBJECT id="randomNumberImage" height="300" width="300" classid="http:bin/RandomNumberImage.dll#RandomNumberImage.RandomNumberImage"
VIEWASTEXT>
<PARAM NAME="Number" VALUE="123456">
</OBJECT>我希望在demo.aspx.cs中控制randomNumberImage的Number属性,但我添加了Runat="server" 后系统提示错误:GUID 应包含带 4 个短划线的 32 位数(xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)。
2\在demo.aspx中添加:
<OBJECT id="randomNumberImage" height="300" width="300" classid="http:bin/RandomNumberImage.dll#RandomNumberImage.RandomNumberImage"
VIEWASTEXT>
<PARAM NAME="Number" VALUE="123456">
</OBJECT>我希望在demo.aspx.cs中控制randomNumberImage的Number属性,但我添加了Runat="server" 后系统提示错误:GUID 应包含带 4 个短划线的 32 位数(xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货