if i want to say that the key was on the bike the enitire night ie the person forgot them at bike or in care...how to put this in correct grammer sentence
I assume you're talking about a motorcycle, not a pushbike (as they don't normally have keys).
I would say "He left his key in the ignition all night accidentally", or, if the key wasn't in the ignition then "He left the key just lying on his bike all night".
NOTE - Can I make a suggestion. Almost all of your posts are entitled "Correct grammer". First - please note that it is spelt gramm
ar. Second, giving all your posts the same title makes it very difficult for us to differentiate between them without opening them. Please give them different titles. For example, this one could have been entitled "Key left on the bike? Is this correct?"