Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Sorry for posting again the same thing but from my mistake i put a solution.

so....
So I have a datagridview that fill from one table from access.
In my datagridview i want to show 7 of me fields. (Totaly i have 9 fields)
In one of them i want to put a number that calculate before save and the other put the system date and time..
My datagridview for save has this code

VB
Private Sub Movement_roller_DBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Movement_roller_DBindingNavigatorSaveItem.Click
    Me.Validate()
    Me.Movement_roller_DBindingSource.EndEdit()
    Me.TableAdapterManager.UpdateAll(Me.RollerDataSet)
End Sub


What can i do to fill my 2 hidden fields before save??????
I hope to be more specific
Thanks and regards
Posted

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