If you want help with this problem, then you should start by describing the problem. "Works here but not there" doesn't have nearly enough detail for anybody to say anything practical. Do you really mean to say that you have no information at all about why it "doesn't work" in one place? If you don't, then you should find some information.
Joined: Jun 23, 2012
Sorry for not providing enough information. Your words made me to check the difference and i got the solution.Thorough my application i am getting from the database and there is a space in the data base value.