Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I need some help from you guys, because i'm completely blocked.

I'm Using the following code, to change the value of the field, but don't know why the database is not updating. I'm using SQL SERVER 2012 and Visual Studio 2012.
VB
Me.PedidosTableAdapter.Fill(UcctieDataSet.Pedidos)
Me.UcctieDataSet.Tables("pedidos").Rows(ro).BeginEdit()
Me.UcctieDataSet.Tables("pedidos").Rows(ro).Item(5) = "Sim"

Me.Validate()
Me.pedidosBindingSource.EndEdit
Me.PedidosTableAdapter.Update(Me.UcctieDataSet.Pedidos)

Can anyone please tell me what i'm doing wrong?
Posted
Updated 6-Oct-15 5:05am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900