Jump to content

[Resolvido] Erro: O dataset esta a ser enviado vazio...


DarkAngelRev

Recommended Posts

For Each row As DataRow In ds.Tables(0).Rows
			    Dim ds1 As New DataSet
			    ds1.Tables.Add("LinhasDoc")
			    ds1.Tables("LinhasDoc").ImportRow(row)
			    servico.InsereLinhaDocPrimavera(ds1)
		    Next

Boa tarde,

Como podem ver no excerto de código que coloquei pretendo carregar apenas uma row para um dataset vinda de um outro dataset. Mas da maneira que está ao invocar a função InsereLinhasDocPrimavera o dataset "ds1" está vazio... alguém tem sugestões para resolver este problema?

Link to comment
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
×
×
  • 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.