my insert works, but without the boolean value contentavailabl e.
When I try to insert this boolean I get a data mismatch error.
this "contentavailab le" is an asp.net checkbox
I use a ms access dbase.
any ideas? THX
here's the code:
commInsert.Exec ute("INSERT INTO tbl_contents (contenttypeID, contentEN,
contentFR, contentNL, contentDU, contentdescript ionEN, contentdescript ionFR,
contentdescript ionNL, contentdescript ionDU, contentavailabl e, contentorder)
VALUES('" & ctype(contentty peID.selectedit em.value,intege r) & "','" &
contentEN.text & "','" & contentFR.text & "','" & contentNL.text & "','" &
contentDU.text & "','" & contentdescript ionEN.text & "','" &
contentdescript ionFR.text & "','" & contentdescript ionNL.text & "','" &
contentdescript ionDU.text & "','" & contentavailabl e.checked & "','" &
contentorder.te xt & "');")
When I try to insert this boolean I get a data mismatch error.
this "contentavailab le" is an asp.net checkbox
I use a ms access dbase.
any ideas? THX
here's the code:
commInsert.Exec ute("INSERT INTO tbl_contents (contenttypeID, contentEN,
contentFR, contentNL, contentDU, contentdescript ionEN, contentdescript ionFR,
contentdescript ionNL, contentdescript ionDU, contentavailabl e, contentorder)
VALUES('" & ctype(contentty peID.selectedit em.value,intege r) & "','" &
contentEN.text & "','" & contentFR.text & "','" & contentNL.text & "','" &
contentDU.text & "','" & contentdescript ionEN.text & "','" &
contentdescript ionFR.text & "','" & contentdescript ionNL.text & "','" &
contentdescript ionDU.text & "','" & contentavailabl e.checked & "','" &
contentorder.te xt & "');")
Comment