• Surendra Sannapareddy
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
1.My visualforce page is
<apex:page controller="SendRecordsToPaaage"  tabStyle="Account">
  
  <apex:pageBlock title="AccountDeails" >
  
  <apex:pageBlockTable value="{!accList}" var="details">
     <apex:column value="{!details.name}"/>
    <apex:column value="{!details.accountnumber}"/>
  </apex:pageBlockTable>
  </apex:pageBlock>
  
</apex:page>

2. My controller is
public class SendRecordsToPaaage {
    
    public List<Account> accList{get;set;}
    public void getAccList() {
    
   accList=[select name,accountnumber from account];
      
      
    
     
    }

}


Give me solution for this please......