Hi,
this is not how a forum works.
A forum can´t replace schoool and it can´t replace your own internet serach and it can´t replace reading documents.
Please first do the basics on your own:
* decide your requirements
* try to find information/documentation
* try to implement it on your own
* try to debug it on your own.
If this fails you should give informations what documents you used, show us your code, show us your debug informations.
Then ask a detailed question...and there will be many users to help you to solve the problem.
Klaus