Fetching data from another salesforce instance using API
Visualforce page: <apex:page controller="SearchAcctFromSf" standardStylesheets="true"> <apex:form > <apex:pageBlock > <apex:pageblockSection columns="2" > <apex:outputLabel value="UserName"/> <apex:inputText required="true" id="userName" value="{!userName}" /> <apex:outputLabel value="Password"/> <apex:inputsecret id="pwd" value="{!pwd}"/> ....