You need to sign in to do that
Don't have an account?
HOW TO PASS THE INPUTS BY USER IN APEX CLASS?
Hi all i am trying to pass the values by user defined in apex class but i am not getting........
In c# values was passed like this:
int A = parse.int(Console.ReadLine};
in Apex class i am not getting
will you please tell me how pass the values...
need help....
NANDIREDDY NAGARJUNA REDDY
In c# values was passed like this:
int A = parse.int(Console.ReadLine};
in Apex class i am not getting
will you please tell me how pass the values...
need help....
NANDIREDDY NAGARJUNA REDDY
Apex & .NET Basics
Discover similarities between programming in .NET and Apex, and learn the basics of starting with Apex.
1)https://developer.salesforce.com/trailhead/module/apex_basics_dotnet
Visualforce Basics
Use Visualforce to build custom user interfaces for mobile and web apps.
1) https://developer.salesforce.com/trailhead/module/visualforce_fundamentals
Let us know if this will help you
Thanks
Amit Chaudhary
Hi Nagarjuna,
public with sharing class AccountController {
public string strName {get;set;}
}
<apex:page controller="AccountController">
<apex:form>
<apex:inputText value="{!strName}"/>
</apex:form>
</apex:page>
Apex and Visualforce use getter setter variables to exchange data between the View and the Controller.
Thanks
Vivian