function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
nabil711nabil711 

Display custom object in visual force page

Hi

 

I have a custom objects and i want to display it in my visual force page

 

thanks

Suresh RaghuramSuresh Raghuram

goto setup-> develop ->pages -> new

 

<apex:page controller="myController"> // controller is your class name, goto setup-> develop ->Apex Classes -> new

<apex:form>

<apex:pageblock>

<apex::pageblocksection>

Name:<apex:outputtext value="{!customObjName.Name}>

</apex::pageblocksection>

</apex:pageblock>

</apex:form>

</apex:page>

The above code is jst to give you an idea work on it to explore deep into it.

If this answers your question or helps your purpose make this as a solution.