You need to sign in to do that
Don't have an account?
Venkat Reddy 45
Insert data from vf page to database:
Dear Experts,
I want to Insert data from vf page to database and I wrote below code but I am getting error as " Unknown property 'fname' referenced in datainsert". Please send me code.
<apex:page>
<apex:form>
<apex:outputtext> First Name</apex:outputtext>
<apex:inputtext value="{!fname}"/>
<apexcommanButton value="submitt" action="{!save}"/>
</apex:form>
</apex:page>
Regards,
Venkat.
I want to Insert data from vf page to database and I wrote below code but I am getting error as " Unknown property 'fname' referenced in datainsert". Please send me code.
<apex:page>
<apex:form>
<apex:outputtext> First Name</apex:outputtext>
<apex:inputtext value="{!fname}"/>
<apexcommanButton value="submitt" action="{!save}"/>
</apex:form>
</apex:page>
Regards,
Venkat.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_controller_custom.htm