In short, your post should at least have the following.
1. What you are trying to do (your need) 2. How you are trying to do it (sample code) 3. Error message you are getting (exact message helps greatly) 4. What you have tried so far (research you have done, etc.)