TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Shambhu
NA
81
38.2k
Save data into sqldb using custom method into lightswitch
Oct 28 2014 10:18 AM
Hi friends,
How to save data on button click(not by using save icon given by popup screen). I tried to use custom method like below. but data is not saving in sql database.
myapp.AddEditApplicantDeclaration.SubmitMethod_execute = funcation(scree)
{
msls.application.commitChanges().then(
null
,
function
fail(e) { alert(e.message); msls.application.cancelChanges();
throw
e; });
};
I created a button and write the _execute method. but its not saving into data base. Am i missing something here.
Its a simple table and trying to update isSummitted column into "Applicant" table.
Reply
Answers (
0
)
Report
Failed to execute 'executeSql' on 'SQLTransaction': SQL exec