Forums Register Login

inserting queries

+Pie Number of slices to send: Send


when i tried to execute this code, it is giving me only one value throughout. but i want all the values given in the xml file... please tell me where am i wrong in this code and how to get different desired values.
thanks a lot...
+Pie Number of slices to send: Send
You only have one object, and you keep adding it to the List. Create a new object each time when you get data from the XML instead of reusing the single object.
+Pie Number of slices to send: Send
thank you so much but can you tell me in which line?
+Pie Number of slices to send: Send
You don't have an extremely large number of lines where you add an object to a list...
+Pie Number of slices to send: Send
i got that line by the way.... but thanks for your help. it was really very helpfull
+Pie Number of slices to send: Send
That's a very common "gotcha", by the way, a lot of beginners get caught doing that.
+Pie Number of slices to send: Send
i'll try not to repeat these type of silly mistakes again...
If you two don't stop this rough-housing somebody is going to end up crying. Sit down and read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 915 times.
Similar Threads
java Date problem
Insert query from java program
Display Results into Table
Transactions
Passing a Querystring from one page to the next
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 04:51:30.