Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- If QuestionData.Tables(0).Rows.Count > 0 Then
- For i As Integer = 0 To QuestionData.Tables(0).Rows.Count - 1
- ' "CorrectAnswer" is a MSSQL bit datatype
- If QuestionData.Tables(0).Rows(i)("CorrectAnswer") = True Then
- QuestionData.Tables(0).Rows(i)("CorrectAnswer") = "True"
- Else
- QuestionData.Tables(0).Rows(i)("CorrectAnswer") = "False"
- End If
- Next
- End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement