You need to use Child object in apex:inputField tag to get a look up field for parent. For ex. if you want to create a look up Account record, one way could be using child Contact record. Please refer code snippet below:
You need to use Child object in apex:inputField tag to get a look up field for parent. For ex. if you want to create a look up Account record, one way could be using child Contact record. Please refer code snippet below:
All Answers
You can use <apex:inputfiled> to bind fields with datatypes with which they have been created.
You will get more information on http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_inputField.htm
If this helps mark this as best answer.
Thanks,
N.J