What is the best method to pass the jQuery values calculatedScore, totalQuestionsCorrect and calculatedScoreDate to a template DataCommand that would update the table or pass these values as querystring parameters to a another page for updating the db table?
SQL Table
[QuizId] [int] NOT NULL,
[ResultId] [int] IDENTITY(1,1) NOT NULL,
[UserId] [int] NOT NULL,
[NumberCorrect] [int] NOT NULL,
[Percentage] [decimal](5, 2) NULL,
[Passed] [bit] NOT NULL,
[DateTaken] [datetime] NULL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jQuery
[div]Overall Score: [span data-bind="text: calculatedScore"][/span]%[/div]
[div]Correct Answers: [span data-bind="text: totalQuestionsCorrect"][/span][/div]
[div]Date: [span data-bind="text: calculatedScoreDate"][/span][/div]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NumberCorrect = totalQuestionsCorrect
Percentage = calculatedScore
DateTaken = calculatedScoreDate
TIA
Buck