易截截图软件、单文件、免安装、纯绿色、仅160KB

假前最后一帖ASP调用VB组件

我用VB按MVC的构架写组件供ASP调用
BLL层
VB code:

Private Dal As New moonPotato_DAL
Public Sub inSertUser(Model As moonPotato_Model)
Dal.InSertCls (Model)
End Sub


ASP中调用
VB code:

Set BLL = server.CreatoObject("tttt.moonPotato_BLL")
Set Model= server.CreatoObject("tttt.moonPotato_Model")
Model.userName="123"
Model.userLevel="456"
BLL.inSertUser(Model)


这样就提对象不支持该属性或方法
如果BLL在VB中写,直接写在ASP中就正可正常执行,这是什么原恩


呵呵。问题已经解决了。
Dal.InSertCls (Model)
改成
Dal.InSertCls Model


引用
呵呵。问题已经解决了。
Dal.InSertCls (Model)
改成
Dal.InSertCls Model


用call Dal.InSertCls (Model) 也行



打酱油~~~~~


相关问答:

asp事务问题

<%On Error Resume Next
Set conn=Server.CreateObject("ADODB.Connection")
conn.begintrans
conn.Open ("Driver={SQL Server};server=(local);uid=sa;database=student;pwd=") ......

一段asp转php

<%if request.QueryString("start") <>"" then%>
<%if cint(start)>0 then%>
<a href="search.asp?q= <%=q%>&start= <%if request.Query ......

求一个编程好办法,如何通过产品小类找到大类(asp)

id lbname topid ceng
1 产品1    0    1
16 产品2  0    1
17 产品3  0    1
18 产品4  0    1
19 产品5  0& ......

ASP有调试器的吗?出错了根本不知道!

平时都出现在IE里边的,但现在浏览发现不出现在浏览器里边。高级里边选中了“显示脚本错误...”但没有显示。


有没有调试器,一步一步跟踪执行情况?
on error resume next这样的东西去掉

还有在IIS里 ......

帮帮我呀.需要一个asp域名查询的功能


谁有asp域名查询的功能的源码哦.

能给我一个吗,我很需要呀,谢谢哈


看看这个。
http://www.aspinfo.cn/article/bc/xml/17901.html

哎.怎么没人回复哦


如需要阅读该回复,请登录或注册 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号