I'm using visual basic 2005 express edition

I want to made a program that read a number or date
then must the program write it in a database (acces = .mdb)
I have try to see the database in a dataviewgrid, that has succeeded
but now i want a textbox where you can put in a number or a date
then the program must save it in the database
how can i do that

VB Code:
  1. Me.BindingSource1.EndEdit()
VB Code:
  1. Me.DataGridView2.Update(Me.DataGridViewTextBoxColumn1.DataPropertyName) = txtdatin.Text
that last code doesn't work --> .DataPropertyName