You need to sign in to do that
Don't have an account?
abi1.2911902284080376E12
Insert list of records from a wrapper class
I have created a visualforce page that displays a datatable with columns containing values from various standard objects. I have used a wrapper class for this and populate it in the datatable using a list of the type wrapper class. Now in the visualforce page i wanna save each row data to a custom object. How do i do this?
In visual force page i use a standard controller contract and the extension as wrapper class.
Are you wanting to pick up changes from the user? If so, as long as your datatable is inside a form and you have inputfields backed by the various properties of the wrapper class, when the form is submitted, your wrapper class list will be updated with the user's input. So you can just iterate the list and do what you need.
I have to insert a list of records to a custom object called, "ContractLineitems__c" . This object has fields, whose values has to be retrieved from other standard objects , opportunity,contract,opportunity line item. So i have used wrapper class to display these values in visualforce page. Now i use a command button to save these values to the custom object, "ContractLineitems__c". How do i save ?? please suggest.
visual force page:
This upsert queryresults is not working. please suggest.