Vs2005 asp.net无法调用winform程序
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="TestWinControl.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm1</title>
<!--
function Button1_onclick() {
alert(Form1.DateTimePicker.Date);
}
//-->
</script>
</HEAD>
<BODY>
<FORM id="Form1" method="post" runat="server">
<OBJECT id="DateTimePicker" height="100" width="200"
classid="bin/DeAcero.Web.Controls.DateTime.dll#DeAcero.Web.Controls.DateTime.DateTimePicker"
>
</OBJECT>
<INPUT style="Z-INDEX: 101; LEFT: 64px; POSITION: absolute; TOP: 168px" type="button" value="Button" onclick="return Button1_onclick()"></FORM>
</BODY>
</HTML>
_____________________________________________________________________________________________________—提示未定义DateTimePicker
当前程序在Vs2003中正常使用!在线等