How to add nsmutablearray into the sqlite database table?Can any one help me to code?
Tell me more
×
Stack Overflow is a question and answer site for
professional and enthusiast programmers. It's 100% free, no registration required.
|
Use looping Controls to sort the array and insert each values Example:
To retrieve, you can use the sample below code
|
|||||||||||
|
You can use :
|
|||
|
Here is a list of tutorials for using sqlite with iphone. Its not a matter of simulator or device. It will work fine with simulator also. Create your db structure properly and work based on this tutorials. http://mobileorchard.com/iphone-sqlite-tutorials-and-libraries/ Or I'd recommend you to use Core Data if you want you work with databases on iPhone OS. This tutorial should match your app quite well: http://mobile.tutsplus.com/tutorials/iphone/iphone-core-data/ Please ask if any more questions. |
|||
|