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
Post a Comment