1

Is it possible to call dml operations like insert list_SObject ; inside a controller method that is refrenced in visualforce page not some trigger class? please give some references.

1 Answer 1

1

You mean something like this :

VF page :

<apex:commandButton action="{!controllerMethod}"/>

Controller :

public void controllerMethod() {
    // Do some stuff with your list

    insert list_SObject;
}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .