xml标记和记录集 [英] xml tag and recordset

查看:51
本文介绍了xml标记和记录集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的asp.net应用程序中,以下行出现错误,记录集未定义.

In my asp.net application i am getting error in follwing line, recordset coming undefined.

var rs = eval(xmlIslandName[intGridCnt]).recordset;

推荐答案

记录集未定义.
您确定所尝试执行的语法是否正确?根据您分享的内容,很难指出.

1.使用一个Eval,然后尝试访问它的属性-这是正确的方法吗?会是:eval(xmlIslandName[intGridCnt].recordset;)
2.未定义的数据只是表明对象中没有任何值.

在访问数据之前,请确保已定义xmlIslandName索引中的数据存在.
recordset coming undefined.
Are you sure if the syntax of what you are trying to do is correct? Based on what you have shared, it''s difficult to point.

1. Using a Eval and then trying to access a property of it - Is that the right way? Will it be: eval(xmlIslandName[intGridCnt].recordset;)
2. Data undefined simply shows that the object has no value in it.

Make sure data in the defined index of xmlIslandName exists before accessing it.


这篇关于xml标记和记录集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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