function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Deepak Biloriya 1Deepak Biloriya 1 

Sir I'm New to the salesforce community and just started my Apex code(DML operation), I have written a program and when i executed it it gave me an error,

Student_Detail__c Stu=new Student_Detail__c();
Stu.First_Name__c='Vijendra';
Stu.Last_Name__c='Panda';
Stu.Gender__c='Male';
Stu.Date_of_Birth__c= Date.parse('02/12/1986');
Stu.Mobile_number__c='1234567897';
Stu.email_id__c='deepakbiloriya1@gmail.com';
Stu.Tuition_Fee__c=25000;
Stu.Address__c='Vaishali Nagar Ward no6';
Stu.College_Web_Site__c='www.google.com';
Insert Stu;
Lwc SeekarLwc Seekar
please post the error ... such that we can help
Deepak Biloriya 1Deepak Biloriya 1
Thanku Sir, i found what the error was. I made a programe through flow which i kept activated, due to which i wasn't able to execute the flow.