المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Posting an Unbound DataGridView to a MySQL Table



C# Programming
08-08-2010, 09:13 AM
Hello all,
I am a bit perplexed and maybe one of you can point me in the right direction.

I have a windows form containing a DataGridView that has data imported into it from Excel and a combobox representing a job number. A user will make changes to the data in the DataGridView and then I want to post this entire DataGridView plus the job number to a MySQL table.

I havne't found any information about how to post the unbound DataGridView to the MySQL table with one extra column of data (job number).

What I would like to know is the proper steps to accomplish this task.

I am using VS2008 and the MySQL Connector/NET v6.2.3

Thanks
Jeff