javascript - Save data into sql server using custom method in lightswitch html client -


How to save data on a button click (not using the save icon given by the popup screen) I like the custom The method tried to use but the data is not saving in the SQL database

  myapp.AddEditApplicantDeclaration.SubmitMethod_execute = funcation (scree) {msls.application.commitChanges (). Then (empty, function fail (e) {alert (e.message); msls.application cancel (); throw e;}); };  

I created a button and typing _execute method but saving it in the data base is not something I am missing. Its a simple table and trying to update the "applicant" table in the auspicious column.

I just myapp.commitChanges (); .. It can be included as verification above under the button _execute


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

asp.net mvc - How to attach sql database to a javascript graph -

c# - How to know the number of Threads created and limit the Tasks accordingly -