Display contents

Hi,
I am displaying items in the shop in a game. I have three tabs and each should display different items. I am not able to switch the contents of in the frame. Also another problem i am facing is to access the items from local database.
How to do that? i am a newbee here.
please help me out.

Thanks.