<apex:page controller="Regionext">
<apex:form >
<apex:pageBlock >
<apex:pageBlockSection >
<apex:inputText value="{!Searched}"/>
<apex:commandButton value="Submit" Action="{!Submit}"/>
<apex:pageBlockTable value="{!Regs}" var="a">
<apex:column Value="{!a.RegionDescription__c}"></apex:column>
<apex:column Value="{!a.RegionID__c}"></apex:column>
</apex:pageBlockTable>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
------------------------------------------------------------------------------
public class Regionext{
public List<Regions__x> Regs{set;get;}
Public String Searched{set;get;}
public Void Submit(){
Regs=[select id,RegionDescription__c,RegionID__c from Regions__x where RegionID__c=:1];
}
}
--------------------------------------------
http://services.odata.org/v3/Northwind/Northwind.svc/