You need to sign in to do that
Don't have an account?
Dileep Kumar
How I will abstract data from wrapper class and insert into object ?
Please give me some idea or example.
Thanks in advance
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Please give me some idea or example.
Thanks in advance
1) http://amitsalesforce.blogspot.in/2016/03/wrapper-class-in-salesforce-select-all.html
All Answers
1) http://amitsalesforce.blogspot.in/2016/03/wrapper-class-in-salesforce-select-all.html
My 2 cents...Say you have to create a Table in your Visualforce Page in other words a PageBlockTable(apex:pageBlockTable). Each row of the table is suppose to show information from a Contact record also some details from the related Account record too. So, it would be nice, it we had a Class(AnAbstract Data Type or a wrapper or a kind of a temporary holder for information) where it could hold the details for each row from different tables: Now, your Apex Controller class will have this:
Now the Visualforce Markup will be:
So, in simpler words wrapper could be thought of as temporary holder/buffer for information lying across different tables queried via a SOQL.
Please mark this as the best answer if this helps