You need to sign in to do that
Don't have an account?

plz check this ............... Error: Syntax error. Found 'p.'
public class s1{
public List<Student_Particluars__c> std = [select Name,Amount_Paid__c,DOB__c,Email__c from Student_Particluars__c];
public List<Student_Particluars__c> getpro(){
return std;
}
}
..........................................-------------------------------------------------............................................................
<apex:page controller="s1">
<apex:form>
<apex:pageBlock>
<apex:pageBlockTable value="{!pro}" var="p">
<apex:column value="{!p.Name}"/>
<apex:column value="{!p. Amount_Paid__c}"/>
<apex:column value="{!p.DOB__c}"/>
<apex:column value="{!p.Email__c }"/>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:form>
</apex:page>
public List<Student_Particluars__c> std = [select Name,Amount_Paid__c,DOB__c,Email__c from Student_Particluars__c];
public List<Student_Particluars__c> getpro(){
return std;
}
}
..........................................-------------------------------------------------............................................................
<apex:page controller="s1">
<apex:form>
<apex:pageBlock>
<apex:pageBlockTable value="{!pro}" var="p">
<apex:column value="{!p.Name}"/>
<apex:column value="{!p. Amount_Paid__c}"/>
<apex:column value="{!p.DOB__c}"/>
<apex:column value="{!p.Email__c }"/>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:form>
</apex:page>
In Line : <apex:column value="{!p. Amount_Paid__c}"/>
There is a space b/w p. and Amount_Paid__c
Replace with <apex:column value="{!p.Amount_Paid__c}"/> and there will be no error.
Hope this helps.
Kindly mark as solved if it works
Veenesh
All Answers
In Line : <apex:column value="{!p. Amount_Paid__c}"/>
There is a space b/w p. and Amount_Paid__c
Replace with <apex:column value="{!p.Amount_Paid__c}"/> and there will be no error.
Hope this helps.
Kindly mark as solved if it works
Veenesh