Datagridview saving data to database

T

Tom Nowak

I have created a form strictly using code where I have a combo box and a
datagridview. I want to set it up where a user enters in the combo box, and
the datagridview is populated based on what the use enters in the combobox.
Also, I want to be able to edit one column in the datagridview, and I want to
be able to save the data back to the database. I can get the datagridview to
populate correctly, but I cant figure out how to save the data. Please help.
 
C

Cor Ligthert[MVP]

Tom,

Their are thousand methods to populate a datagridview, however no one has
the name "correctly"

Will you tell us wha is in your opinion the correctly way to populate it,
maybe someone else can tell you then how to update the database with that.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top