用这个
<OBJECT classid=clsid:20DD1B9E-87C4-11D1-8BE3-0000F8754DA1
height=25 id=DTP1 name=DTP1 style="HEIGHT: 25px; WIDTH: 100px" width=100>
<PARAM NAME="LPKPath" VALUE="/ActiveX/pubocx.lpk">
<PARAM NAME="_ExtentX" VALUE="2646">
<PARAM NAME="_ExtentY" VALUE="661">
<PARAM NAME="_Version" VALUE="393216">
<PARAM NAME="MousePointer" VALUE="0">
<PARAM NAME="Enabled" VALUE="1">
<PARAM NAME="OLEDropMode" VALUE="0">
<PARAM NAME="CalendarBackColor" VALUE="-2147483643">
<PARAM NAME="CalendarForeColor" VALUE="-2147483630">
<PARAM NAME="CalendarTitleBackColor" VALUE="-2147483647">
<PARAM NAME="CalendarTitleForeColor" VALUE="-2147483630">
<PARAM NAME="CalendarTrailingForeColor" VALUE="12632256">
<PARAM NAME="CheckBox" VALUE="0"><PARAM NAME="CustomFormat" VALUE="">
<PARAM NAME="DateIsNull" VALUE="0">
<PARAM NAME="Format" VALUE="662831105">
<PARAM NAME="UpDown" VALUE="0">
<PARAM NAME="CurrentDate" VALUE="36734">
<PARAM NAME="MaxDate" VALUE="2958465">
<PARAM NAME="MinDate" VALUE="-109205">
</OBJECT>
<OBJECT classid=clsid:20DD1B9E-87C4-11D1-8BE3-0000F8754DA1
height=25 id=DTP1 name=DTP1 style="HEIGHT: 25px; WIDTH: 100px" width=100>
<PARAM NAME="LPKPath" VALUE="/ActiveX/pubocx.lpk">
<PARAM NAME="_ExtentX" VALUE="2646">
<PARAM NAME="_ExtentY" VALUE="661">
<PARAM NAME="_Version" VALUE="393216">
<PARAM NAME="MousePointer" VALUE="0">
<PARAM NAME="Enabled" VALUE="1">
<PARAM NAME="OLEDropMode" VALUE="0">
<PARAM NAME="CalendarBackColor" VALUE="-2147483643">
<PARAM NAME="CalendarForeColor" VALUE="-2147483630">
<PARAM NAME="CalendarTitleBackColor" VALUE="-2147483647">
<PARAM NAME="CalendarTitleForeColor" VALUE="-2147483630">
<PARAM NAME="CalendarTrailingForeColor" VALUE="12632256">
<PARAM NAME="CheckBox" VALUE="0"><PARAM NAME="CustomFormat" VALUE="">
<PARAM NAME="DateIsNull" VALUE="0">
<PARAM NAME="Format" VALUE="662831105">
<PARAM NAME="UpDown" VALUE="0">
<PARAM NAME="CurrentDate" VALUE="36734">
<PARAM NAME="MaxDate" VALUE="2958465">
<PARAM NAME="MinDate" VALUE="-109205">
</OBJECT>
我看了,弹出的速度有点慢,不过也很谢谢你呀
听说别了codebase="http://activex.microsoft.com/controls/vb6/MSComCt2.cab" 可以不出安全提示,但也不行,
客户端不能处理事件和取值,
设置name提交到服务端才不会出安全提示