Hai, I want to interface camera to raspberry pi of version B. how can i?
1) By inventing a new solution, which would mean that you are an R&D Engineer.
2) By buying one of the cameras that the Raspberry Pi already supports and has software for, which would mean that you are a user. Possibly a power user.
For alternative 1, you'll have to figure out how to do it yourself. For alternative 2, you'll just have to do what most other peoples do who wants to use the Raspberry Pi with a camera: Google for already published documentation.