Refer this link. Here you will find code on how to take screen shot of screen.
Don’t save images in database, save your images in Document Directory in iPad. Just save file name of that image in database, which will help you fetch image easily.
Hope this info helps you..
solved Screen capture in iPad programmatically