Data from DataGridView

Jelmer

Well-known member
Joined
Jan 11, 2006
Messages
96
Ive got a form with a datagridview.
On the form ill get a few records and the selected columns (no ID column!).
To fill the datagrid ill use the following components:

- Bindingsource
- TableAdaptor
- and another one

What i like to do:

I will that the program fills a textbox with the ID value of the selected row on the datagridview.

How can i get that ?

And another DataGridVieuw Problem:
If i change something into the grid.. averything looks like its changed.
But if i close the form. And open it again.. its as before.. nothing changes.

Do you need a save button ore something like that ?
Ive controlled if all data components are not (readonly=treu).
The database is an .mdb file (access).
 
Last edited by a moderator:
Back
Top