Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my asp.net application i am getting error in follwing line, recordset coming undefined.

C#
var rs = eval(xmlIslandName[intGridCnt]).recordset;
Posted
Updated 23-May-12 9:25am
v2

1 solution

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.
 
Share this answer
 
Comments
VJ Reddy 23-May-12 21:49pm    
Good suggestion. 5!
Sandeep Mewara 24-May-12 1:48am    
Thanks VJ.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900