包含文件中的变量问题。 [英] Issue with variable in included file.

查看:93
本文介绍了包含文件中的变量问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我们有一个ASP页面,其中包含2页。

We have an ASP page in which we have included 2 pages.

假设主页是Page1 。这包括Page2和Page3。

Say the main page is Page1. This has Page2 and Page3 included.

Page 2包含在顶部的PAge1中。并且Page3包含在第1页的#200行之间。

Page2 is included in PAge1 at the top. And Page3 is included in between say line#200 of Page1.

Page2有一个名为cTypeCode的变量,它本身就被初始化了。

Page2 has a variable called cTypeCode and it is getting initialized there itself.

现在我需要访问它,但是我收到Microsoft VBScript运行时错误'800a01f4'。消息说变量未定义:'cTypeCode'。给出我试图访问它的Page3中的行号。

Now my Page 3 needs to access it however I am getting Microsoft VBScript runtime error '800a01f4'. Message says Variable is undefined: 'cTypeCode'. Gives the line number in the Page3 where I am trying to access it.

任何人都可以帮忙......

Can anyone help out...

- Rohit。

--Rohit.

推荐答案

您想在 forums.asp.net 中询问,他们处理ASP问题。

You'll want to ask in forums.asp.net, where they deal with ASP problems.

-

Andrew

--
Andrew


这篇关于包含文件中的变量问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆