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 -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -