Estou fazendo um sistema de cadastro para a imobiliária onde eu trabalho, já consegui fazer um cadastro de usuários e de proprietarios, tudo funcionando normal, ao chegar no cadastro de inquilinos, estou com alguns problemas, o erro esta nesta linha de comando (selcom.CommandText = "INSERT INTO tb_inquilino ): conect.Open()
Dim selcom As New OleDb.OleDbCommand
selcom.Connection = conect
selcom.CommandText = "INSERT INTO tb_inquilino ( Nome, Endereco, Bairro, Cidade, UF, CEP, CPF, RG, Qualificacao, Telefone, Celular, Fiador, Nome_Fiador, CPF_Fiador, RG_Fiador, Qualificacao_Fiador, Telefone_Fiador, Celular_Fiador, Seguro_Fianca, Email_Fiador, Email, Nascimento, SFianca ) " & "VALUES ( '" & txtNome.Text & "', '" & _
"', '" & TxtEndereco.Text & "', '" & TxtBairro.Text & "', '" & txtCidade.Text & "', '" & TxtUf.Text & "', '" & TxtCep.Text & "', '" & TxtCpf.Text & "', '" & TxtRg.Text & "', '" & TxtQualificacao.Text & "', '" & TxtTelefone.Text & "', '" & TxtCelular.Text & "', '" & ckbFiador.Checked & _
"', '" & txtNomeFiador.Text & "', '" & txtCpfFiador.Text & "', '" & txtRgFiador.Text & "', '" & txtQualificacaoFiador.Text & "', '" & txtTelefoneFiador.Text & "', '" & txtCelularFiador.Text & "', '" & txtSeguroFianca.Text & "', '" & txtEmailFiador.Text & _
"', '" & TxtEmail.Text & "', '" & txtNascimento.Text & "', '" & ckbSFianca.Checked & "' )" Não sei se estou declarando os checkbox certo (declarei eles como boolean) , para ele salvar o checkbox na minha database, como deveria ser feito? é .checked mesmo?! aguardo uma resposta...