Groups | Blog | Home
all groups > dotnet ado.net > april 2008 >

dotnet ado.net : DataGridView


Rick
4/24/2008 7:25:42 AM
Completely untested, but can't you do something like:

for each dgvr as datagridviewrow in dgv.rows
table.row.Column = dgvr("<Col name> or <Col index>")
next

Rick


[quoted text, click to view]

Bails
4/24/2008 9:03:18 PM
Hi All, I have been searching everywhere but I am totally stumped. Can
anyone PLEASE help.

I am using VB.Net 2005 edition and have a DataGridView (DGV)on my form.

The DGV is NOT bound to anything as I want the user to input their values.
Once they have finished I THEN want to save the values in the DGV to a MS
Access table.

How do I do this?

My DataGridView is called DGV1 and my table is db1.mdb.

I would KILL for any example code you may be able to pass my way.

THANK YOU

AddThis Social Bookmark Button