You need to sign in to do that
Don't have an account?
Sascha Deinert
DML currently not allowed
Hi,
I like to add the information 'Kon' to the custom object 'Stats__c' if I call the visualforce page.
But I get the error: DML currently not allowed.
Could you help me.
Thanks,
Sascha
I like to add the information 'Kon' to the custom object 'Stats__c' if I call the visualforce page.
But I get the error: DML currently not allowed.
Could you help me.
Thanks,
Sascha
public class Stats_class { public Stats_class() { Stats__c sta = new Site__c(); sta.Site__c = 'Kon'; INSERT sta; } }
<apex:page controller="Stats_class"> Stats </apex:page>
Variable does not exist Seite__c.