问题描述
我需要将这2页转换为asp.net c#website
1.Delete.asp
< title>删除指纹
< ; - 用于捕获手指数据的BioPlugin ActiveX控件 - >
< OBJECT ID =BioPlugInActXWIDTH = 0 HEIGHT = 0 CLASSID =CLSID: 05E8280C-D45A-494F-AE42-840A40444AFF>
< param name =_ Versionvalue =65536>
< param name =_ ExtentX value =2646>
< param name =_ ExtentYvalue =2646>
< param name =_ StockPropsvalue = 0>
删除指纹
注册ID |
2.)process-delete.asp
< title>处理 - 删除
<%
'Incase网络服务抛出异常。
'出错时接下来
dim objDoc,objSOAPClient
set objDoc = Server.CreateObject(Msxml2.DomDocument.3.0)
set objSOAPClient = Server.CreateObject(MSSOAP.SoapClient)
sPath =http ://localhost/bioplugin.asmx?wsdl
objSOAPClient.ClientProperty(ServerHTTPRequest)= true
objSOAPClient.MSSoapInit(sPath)
if err.number<> 0然后
Response.write(
Web服务调用失败!
)else
dim xml
xml = objSOAPClient.DeleteID(Request.Form(ID))
'显示
Response.WriteCode:& xml&
Response.Write()
结束如果
%>
我尝试了什么:
我尝试过在线工具,不工作
I need to convert these 2 pages to asp.net c# website
1.Delete.asp
<title>Delete fingerprint
<!-- BioPlugin ActiveX control to capture finger data -->
<OBJECT ID="BioPlugInActX" WIDTH=0 HEIGHT=0 CLASSID="CLSID:05E8280C-D45A-494F-AE42-840A40444AFF">
<param name="_Version" value="65536">
<param name="_ExtentX" value="2646">
<param name="_ExtentY" value="2646">
<param name="_StockProps" value="0">
Delete Fingerprint
Registration ID |
2.) process-delete.asp
<title>Process-Delete
<%
'Incase web service throws an exception.
'on error resume next
dim objDoc, objSOAPClient
set objDoc = Server.CreateObject("Msxml2.DomDocument.3.0")
set objSOAPClient = Server.CreateObject("MSSOAP.SoapClient")
sPath = "http://localhost/bioplugin.asmx?wsdl"
objSOAPClient.ClientProperty("ServerHTTPRequest") = true
objSOAPClient.MSSoapInit(sPath)
if err.number <> 0 then
Response.write("
Web Service Call Failed!
")else
dim xml
xml = objSOAPClient.DeleteID(Request.Form("ID"))
'Display
Response.Write "Code: " & xml & "
"
Response.Write("Go Back")
end if
%>
What I have tried:
I tried online tools ,not working
推荐答案
这篇关于从ASP转换为ASP.NET C#网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!