You need to sign in to do that
Don't have an account?
Pass class properties to a page
I have a requirement to get data from SQL server and show the result in a tabular format in a visual force page. The user will select one relevant customer from the search result to add to "Account". I've got the search results page done and the new visualforce page to insert the customer data. (Had few other requirements so added a custom page).
What is the best way to get the data from selected row and pass on to the new page?
I have about 12 fields like name, address, dob etc. Phone & email will be manual entry in the visual force page.
Any code samples will be highly appreciated and helpful.
Thanks for your help in advance.
What is the best way to get the data from selected row and pass on to the new page?
I have about 12 fields like name, address, dob etc. Phone & email will be manual entry in the visual force page.
Any code samples will be highly appreciated and helpful.
Thanks for your help in advance.
Hi, To select the records on visualforce page and pass it back to controller or another VF page you might need to use Wrapper classes. Please refer to the below article on more information about Wrapper class http://wiki.developerforce.com/page/Wrapper_Class