[B]read a number from a textbox and write it in a database[/B]
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 :confused:
VB Code:
Me.BindingSource1.EndEdit()
VB Code:
Me.DataGridView2.Update(Me.DataGridViewTextBoxColumn1.DataPropertyName) = txtdatin.Text
that last code doesn't work --> .DataPropertyName
Re: [B]read a number from a textbox and write it in a database[/B]
From what you posted, I have a strong feeling that you don't know much about ADO.net. I suggest you spend some time reading some of the tutorials about ADO.Net here in the forum... In oder to solve a problem, one must understand it first...