Hi all am currently saving data using an aspx webpage. I can store textbox values but having trouble getting the syntax right for a checkbox value....
could any1 have look at this code and see where am going wrong?
could any1 have look at this code and see where am going wrong?
Code:
cmd.Parameters.Add(New OleDbParameter("@Location", txt_Location.text))
cmd.Parameters.Add(New OleDbParameter("@Diagnosis", txt_Diagnosis.text))
[COLOR=#ff0000]
If chk_sepsit.Checked Then
cmd.Parameters.Add(New OleDbParameter("@SurvingSepsis", chk_sepsit.value = True))
else
cmd.Parameters.Add(New OleDbParameter("@SurvingSepsis", chk_sepsit.value = False))
end if
[/color]