急!!!JAVA SCRIPT 对象赋值 response 输出的是字符串,你用的是对象 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <%Private Function createOK() Dim objDNReport set objDNReport=CreateObject("DataNewReport.DNReport") '表头 With objDNReport.Sections(1) .Height = 2000 End With objDNReport.AutoInsertTitles objDNReport.Sections(1), 500, 600, "", sTitle, "", , 30, RGB(0, 0, 255) objDNReport.AutoInsertTitles objDNReport.Sections(1), 1500, 400, "制作人:", "", "制作日期: " , , , , , , , True Set ConstructReport = objDNReport End Functiondim strobjset strobj=createOK()%><body scroll="no" leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 bgColor=gray LANGUAGE=javascript onLoad="return window_onload()" onResize="return window_onresize()"><OBJECT CLASSID='CLSID:9CDE204E-0CC2-11D6-9011-00E09873B6BB' ID=dnp width=0 height=0></OBJECT><OBJECT CLASSID='CLSID:ED0F0F88-FD05-435F-9A58-1E45E04AB097' ID=objDNReport width=0 height=0></OBJECT><SCRIPT LANGUAGE=javascript>function window_onload() { //新建立一纸张 dnp.CreatePaper("DEMO"); //设置纸张属性 dnp.Papers(0).ReportObject=objDNReport; dnp.Paper = dnp.Papers(0); window_onresize(); return true;}function window_onresize() { dnp.width=document.body.offsetWidth-4; dnp.height=document.body.offsetHeight-4;}</SCRIPT></body>问题是:如何将objDNReport的值为strobj 你<%Private Function createOK() Dim objDNReport set objDNReport=CreateObject("DataNewReport.DNReport") '表头 With objDNReport.Sections(1) .Height = 2000 End With objDNReport.AutoInsertTitles objDNReport.Sections(1), 500, 600, "", sTitle, "", , 30, RGB(0, 0, 255) objDNReport.AutoInsertTitles objDNReport.Sections(1), 1500, 400, "制作人:", "", "制作日期: " , , , , , , , True Set ConstructReport = objDNReport End Function%><body scroll="no" leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 bgColor=gray LANGUAGE=javascript onLoad="return window_onload()" onResize="return window_onresize()"><OBJECT CLASSID='CLSID:9CDE204E-0CC2-11D6-9011-00E09873B6BB' ID=dnp width=0 height=0></OBJECT><OBJECT CLASSID='CLSID:ED0F0F88-FD05-435F-9A58-1E45E04AB097' ID=objDNReport width=0 height=0></OBJECT><SCRIPT LANGUAGE=javascript>function window_onload() { //新建立一纸张 dnp.CreatePaper("DEMO"); //设置纸张属性 dnp.Papers(0).ReportObject=createOK() dnp.Paper = dnp.Papers(0); window_onresize(); return true;}function window_onresize() { dnp.width=document.body.offsetWidth-4; dnp.height=document.body.offsetHeight-4;}</SCRIPT></body> 如何用正则捕获关键字前后10位 图片地址判断 如何在tr上禁止mouseover事件多次触发???? 求前辈帮我看个问题[up有分啊] 一段javascript的效果,我想每个图片都不一样,且可以根据不同图片跳转到不同页面,求高手进来帮忙看看 怎么让某ip的访客每天只能刷新10次? 用正则表达式怎样限制文本框只能输入6-20位任何字符? 请问:横条菜单如何跨IFrame?谢谢!! 关于DIV 的DRAG,DRAG时鼠标的形态如何控制?我这里不知怎么的是一个DISABLED的图标。 如何能让IE窗口隐藏最顶端的蓝色横条? 如何点击一个按钮使它能隐藏/显示左框架 有技术的都来看看,
Private Function createOK()
Dim objDNReport
set objDNReport=CreateObject("DataNewReport.DNReport")
'表头
With objDNReport.Sections(1)
.Height = 2000
End With
objDNReport.AutoInsertTitles objDNReport.Sections(1), 500, 600, "", sTitle, "", , 30, RGB(0, 0, 255)
objDNReport.AutoInsertTitles objDNReport.Sections(1), 1500, 400, "制作人:", "", "制作日期: "
, , , , , , , True
Set ConstructReport = objDNReport
End Function
dim strobj
set strobj=createOK()
%><body scroll="no" leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 bgColor=gray LANGUAGE=javascript onLoad="return window_onload()" onResize="return window_onresize()"><OBJECT CLASSID='CLSID:9CDE204E-0CC2-11D6-9011-00E09873B6BB' ID=dnp width=0 height=0></OBJECT>
<OBJECT CLASSID='CLSID:ED0F0F88-FD05-435F-9A58-1E45E04AB097' ID=objDNReport width=0 height=0></OBJECT><SCRIPT LANGUAGE=javascript>function window_onload() {
//新建立一纸张
dnp.CreatePaper("DEMO");
//设置纸张属性
dnp.Papers(0).ReportObject=objDNReport;
dnp.Paper = dnp.Papers(0);
window_onresize();
return true;
}function window_onresize() {
dnp.width=document.body.offsetWidth-4;
dnp.height=document.body.offsetHeight-4;
}</SCRIPT>
</body>问题是:如何将objDNReport的值为strobj
Private Function createOK()
Dim objDNReport
set objDNReport=CreateObject("DataNewReport.DNReport")
'表头
With objDNReport.Sections(1)
.Height = 2000
End With
objDNReport.AutoInsertTitles objDNReport.Sections(1), 500, 600, "", sTitle, "", , 30, RGB(0, 0, 255)
objDNReport.AutoInsertTitles objDNReport.Sections(1), 1500, 400, "制作人:", "", "制作日期: "
, , , , , , , True
Set ConstructReport = objDNReport
End Function
%><body scroll="no" leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 bgColor=gray LANGUAGE=javascript onLoad="return window_onload()" onResize="return window_onresize()"><OBJECT CLASSID='CLSID:9CDE204E-0CC2-11D6-9011-00E09873B6BB' ID=dnp width=0 height=0></OBJECT>
<OBJECT CLASSID='CLSID:ED0F0F88-FD05-435F-9A58-1E45E04AB097' ID=objDNReport width=0 height=0></OBJECT><SCRIPT LANGUAGE=javascript>function window_onload() {
//新建立一纸张
dnp.CreatePaper("DEMO");
//设置纸张属性
dnp.Papers(0).ReportObject=createOK()
dnp.Paper = dnp.Papers(0);
window_onresize();
return true;
}function window_onresize() {
dnp.width=document.body.offsetWidth-4;
dnp.height=document.body.offsetHeight-4;
}</SCRIPT>
</body>