有问题啦,各位DX帮忙,是pb读取asp内容的问题。
通过浏览器打开asp问题执行没问题,就是通过pb读取的时候有问题。
下面是asp的源码。
<!--#include file="conn.asp"-->
<%
set rs=Server.CreateObject("adodb.recordset")
sql="select * from ssmg_reg_code where system_code='"&request("system_code")&"' and system_regcode='"&request("system_regcode")&"' and soft_active=true"
rs.open sql,conn,1,1
if not rs.eof then
response.write "The Code Is OK!"
else
response.write "The Code Is ERROR!"
end if
'rs.close
'set rs=nothing
%>
用浏览器打开http://localhost/ssmg/chk_regcode.asp?system_code=3A15713F-9B3D-49AE-8CD6-08737E6F109E&system_regcode=56BCB25BD12625E1C57FB892B720DFDC
正确返回the code is ok
但用pb处理后就就返回the code is error
不知道怎么搞的,用的是pb11
下面是pb的代码
Try
loo_xmlhttp = Create oleobject
loo_xmlhttp.ConnectToNewObject("MSXML2.XMLHTTP.3.0")
loo_xmlhttp.open ("GET",ls_get_url + "?" + ls_args + "&m="+String(Second(Now())), false)
loo_xmlhttp.send()
ls_status_text = loo_xmlhttp.StatusText
ll_status_code = loo_xmlhttp.Status
If ll_
相关问答:
owc11满足不了要求,有没有更好点的,asp能调用的
目前没发现,帮你顶!
应该没有了吧
自已写。顶
帮顶,关注!
好像就这个了,目前还没看到其他得上市使用。。。帮顶!
自己再顶一下
好像是没有 ......
Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.WebControls
Namespace CBDAspNet.WebControls.HTML
''' <summary>
'' ......
<?xml version="1.0"?>
<root>
<status>433</status>
<msg>这个是汉字</msg>
<serialno>123</serialno>
</root>
如何用ASP读取 status值 ......
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
3个radioButton
一个Button
一个label
C# code:
protected void Button1_Click(object sender, EventArgs e)
{
string str = null;
RadioButton rdo=(RadioButton)sender;
......