Skip to main content
sandeep reddy 님이 #Apex에 질문했습니다
this is my program how to fetch all the myphone,myname fields please tell me

   public class dynamicallsoql {

    public string myname{set;get;}

    public stringmy phone {set;get;}

    public sobject obj {set;get;}

    public list<sobject> sobj{set;get;}

    public dynamicallsoql(){

        database.query('select'myname,myphone 'from' obj);

    }

}

}
답변 4개
  1. 2016년 4월 28일 오전 2:27
    nayana i did but no error i apex and vf also but not not giving output just give me example