bbharat Posted August 16, 2007 Share Posted August 16, 2007 Hi, My problem is that I am getting a list of objects. Now to display this I am using something like "listA[0].q" where listA is my list of objects and "q" is the element in object, I wanna display. I wanna avoid hard coding integers(0-9) in my list while displaying the field and also limit it to only 8 fields. Is there a way I can do this? eg: so my final field name wud be somethin like "listA[x].q" where x is the variable. So that I will only display 8 and reject others,if any. I'd appreciate any replies asap. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now