diff --git a/.gitignore b/.gitignore index 4ce6fdd..f10bbd0 100644 --- a/.gitignore +++ b/.gitignore @@ -337,4 +337,5 @@ ASALocalRun/ .localhistory/ # BeatPulse healthcheck temp database -healthchecksdb \ No newline at end of file +healthchecksdb +/.github/copilot-instructions.md diff --git a/Safety/Quiz/QuizAnswers.aspx b/Safety/Quiz/QuizAnswers.aspx index 30b57da..46a7a77 100644 --- a/Safety/Quiz/QuizAnswers.aspx +++ b/Safety/Quiz/QuizAnswers.aspx @@ -186,16 +186,10 @@ SelectCommand="quizAntwoordenSelect" SelectCommandType="StoredProcedure" InsertCommand="quizAntwoordenInsert" InsertCommandType="StoredProcedure" UpdateCommand="quizAntwoordenUpdate" UpdateCommandType="StoredProcedure" - DeleteCommand="quizAntwoordenUpdate" DeleteCommandType="StoredProcedure"> + DeleteCommand="quizAntwoordenDelete" DeleteCommandType="StoredProcedure"> - - - - - - diff --git a/Safety/Quiz/QuizAnswers.aspx.cs b/Safety/Quiz/QuizAnswers.aspx.cs index 595b2ea..af0c49d 100644 --- a/Safety/Quiz/QuizAnswers.aspx.cs +++ b/Safety/Quiz/QuizAnswers.aspx.cs @@ -34,7 +34,7 @@ namespace safety.Quiz case "answers": o = insertItem.OwnerTableView.ParentItem.GetDataKeyValue("vraagId"); txtbx = (TextBox) insertItem["vraagId"].Controls[0]; - txtbx.Text = ((short) o).ToString(); + txtbx.Text = ((int) o).ToString(); break; case "vragen": x = insertItem.OwnerTableView.ParentTableRelation[0].MasterKeyField; diff --git a/Safety/Safety.csproj b/Safety/Safety.csproj index 47f5a0f..bfc76eb 100644 --- a/Safety/Safety.csproj +++ b/Safety/Safety.csproj @@ -139,42 +139,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -988,9 +952,6 @@ - - -