Jump to content
Sign in to follow this  
legd1991

projecto pda

Recommended Posts

legd1991

boa tarde....

um amigo meu esta a criar um projecto para pda, e como nao esta registado postou do meu user...

ele esta a fazer um projecto para pda... esta com problemas em registar na base de dados...

tem o seguinte codigo:

 Dim newrow As papDataSet.artigosRow
        newrow = PapDataSet.artigos.NewartigosRow

        newrow.codigo = tx_cod.Text
        newrow.desiganacao = tx_desc.Text
        newrow.qtd = tx_qtd.Text
        newrow.codbarras = tx_codbr.Text

        PapDataSet.Tables("artigos").Rows.Add(newrow)

        If papDataSetUtil.DesignerUtil.IsRunTime Then

            Me.ArtigosTableAdapter.Fill(Me.PapDataSet.artigos)
        End If

ao tentar guardar os dados nao guarda na bd, ficam em memoria e ao fechar e reabrir a aplicaçao eles desaparecem....

precisava de ajuda...

desde ja obrigado

cumps

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.