Author: dotnetnoob101 | Posted on: 9/24/2008 1:47:06 AM | Views : 859

Hi,

Might be a sql problem rather than .net but just wanted to see if anyone has any idea what is going on. I have a checkbox on my form and in the code behind I have the following:

Dim chkVerified As Char = "True"

If (Verified.Checked <> True) Then

chkVerified = "False"

End If



I then have the chkVerified variable in my Insert statement. I can submit the form fine but when I check the database only the first character has been inserted! Database column length is set to 5 but still only a "T" or an "F" appear in the column. Any ideas? ...

Go to the complete details ...