将asp DTC控件转换为html

时间:2015-10-12 09:47:45

标签: html vbscript asp-classic

我有一个使用经典asp和它的DTC控件构建的网页,我试图转换页面以支持现代浏览器,首先我已经开始转换控件,即我有以下dtc控件(文本框)应该怎么做才能转换它?

<OBJECT id=txtStartDate style="LEFT: 0px; WIDTH: 60px; TOP: 0px; HEIGHT: 19px" height=19 
    width=60 classid="clsid:B5F0E469-DC5F-11D0-9846-0000F8027CA0">
    <PARAM NAME="_ExtentX" VALUE="1588">
    <PARAM NAME="_ExtentY" VALUE="503">
    <PARAM NAME="id" VALUE="txtStartDate">
    <PARAM NAME="ControlType" VALUE="0">
    <PARAM NAME="Lines" VALUE="3">
    <PARAM NAME="DataSource" VALUE="">
    <PARAM NAME="DataField" VALUE="">
    <PARAM NAME="Enabled" VALUE="-1">
    <PARAM NAME="Visible" VALUE="-1">
    <PARAM NAME="MaxChars" VALUE="11">
    <PARAM NAME="DisplayWidth" VALUE="10">
    <PARAM NAME="Platform" VALUE="256">
    <PARAM NAME="LocalPath" VALUE=""></OBJECT>

我的asp页面的标题是:

<%@ Language=VBScript codepage=65001 %>
<% Server.ScriptTimeout = 1000 %>
<script id="DebugDirectives" runat="server" language="javascript">
<FORM name=thisForm METHOD=post>
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<OBJECT RUNAT=server SCOPE="Page" PROGID=VB6Sup.CentralCRM id=CustomerInfo></OBJECT>
<OBJECT RUNAT=server SCOPE="Page" PROGID=AddressLib.Main id=Address ></OBJECT>
<META name=VI60_defaultClientScript content=VBScript>
<TITLE>HAWB Search</TITLE>
<SCRIPT ID=serverEventHandlersVBS LANGUAGE=vbscript RUNAT=Server>

1 个答案:

答案 0 :(得分:0)

你好,你好吗?我不知道转换,但网站bootsnipp.com是一个用户使用bootstrap共享表单示例的论坛。您可以使用DTC类型替换表单。