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

Controller & custom object
I think I am making a very basic error but can't seem to figure it out. I am trying to reference a custom object (Fee_Discount__c) but am getting an invalid type error.
public with sharing class FutureMeetings_CC {
public List<Fee_Discount__c> fee{get;set;}
public FutureMeetings_CC() {
fee = new List<Fee_Discount__c>();
}
}
public with sharing class FutureMeetings_CC {
public List<Fee_Discount__c> fee{get;set;}
public FutureMeetings_CC() {
fee = new List<Fee_Discount__c>();
}
}
No need to write this fee = new List<Fee_Discount__c>(); part again you can simply call fee,
Regards,
There is no any error in this Controller.I think you are getting Error from your Visualforce code. Please double check your Visualforce Code.
Regards,
Ajay