convertion of word to pdf reg

is convertion of word to pdf file is possible through sql... the main concept is if the word file is posted through asp.net pages then it must be converted to pdf file and stored in database.can any one provide me a solutionÂ