Hi there,
I m using salesforce web service inside my webapplication, Here I m using one dropdown list..there i need load return value from Sales Force Apex class..... How do i follow?
My Apex Coding
global class getTeacherName{
WebService static List<Contact> getTeacherName() {
List<Contact> contactList = [SELECT FirstName,Password__c FROM Contact WHERE ContactType__c='teacher'];
List<Contact> l1 = new List<Contact>();
if(contactList.size()>0){
for(Contact c : contactList){
Contact l=new Contact(FirstName =c.FirstName);
l1.add(l);
}
}
return l1;
}
}
my Aspx Page code
getTeacherName.getTeacherNameService getTeacherInfoObj = new getTeacherName.getTeacherNameService();
getTeacherInf ...
Go to the complete details ...