I always write questions based in the "How-To" displayed always that you are about to make a question but most of the questions doesn't pass the guidelines for asking a question.
What suggestions do you have for asking in Stack Overflow?
Most of the information anyone needs on asking good questions is in the link that @admay posted. I'll just add/reiterate:<p>1. Show some effort. Don't ask people to "do your homework" so to speak. Explain what you already did / tried, what your current working theory is, etc.<p>2. Include relevant details. More is <i>usually</i> better, although you don't necessarily want to write a novel.
Some bits of StackOverflow are pathologically awful.<p>If you gave an example question here people might be able to tell you how to ask it to get useful answers.