You need to sign in to do that
Don't have an account?

I want to insert 10 records without using iteration through vf page. Also the condition is records whose checkbox value will be true those should be inserted after clicking insert button.
CAN WE ACHIEVE THE ABOVE REQUIREMENT BY USING WRAPPER CLASS?
I MEAN WITHOUT GIVING 10 VARIABLES TO STORE THE VALUES OF INPUT TEXT BOXES [DYNAMICALLY].
I MEAN WITHOUT GIVING 10 VARIABLES TO STORE THE VALUES OF INPUT TEXT BOXES [DYNAMICALLY].

Yes, use wrapper class.

Could you please brief me on how to acheive?