Hy All,
I want to know how can we insert data in database,when we have used local variable in input variable,i am not using entity variable.is there any possiblity to do this.
i am attaching my file.
thankyou in advance
Hi Rohan,
You would need to assign those local variables to the GetEmployeeDetails.List.Current.EmployeeDetails just before the CreateOrUpdateEmployeeDetails action like this:
hy nordin,
but in your case it is updating the data
rohan goyal wrote:
If you want to only insert the data, you can change the CreateOrUpdateEmployeeDetails into CreateEmployeeDetails action.
Hope this helps.
Regards,
Nordin
Yes you can .as Nordin said -
i have updated your oml find this code
hope this will help you.
Regards
Rahul Sahu
Thank you Rahul it helped
last thing i want is for editing the data when editing the data always first record is comming
Take Entity identifire input parameter in EditUser screen and get data by this identifire and fromAdminDashbord screen pass input paramter for this.
like below image-
Hope this will help you.
RegardsRahul Sahu
thanks rahul it works
Good,
Glad to help you
Regrads