SHARE
TWEET

Untitled

Ortund Nov 14th, 2011 140 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         If QuestionData.Tables(0).Rows.Count > 0 Then
  2.             For i As Integer = 0 To QuestionData.Tables(0).Rows.Count - 1
  3.                 ' "CorrectAnswer" is a MSSQL bit datatype
  4.                 If QuestionData.Tables(0).Rows(i)("CorrectAnswer") = True Then
  5.                     QuestionData.Tables(0).Rows(i)("CorrectAnswer") = "True"
  6.                 Else
  7.                     QuestionData.Tables(0).Rows(i)("CorrectAnswer") = "False"
  8.                 End If
  9.             Next
  10.         End If
  11.  
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top