Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

I've got a form with a datagridview.

On the form i'll get a few records and the selected columns (no ID column!).

To fill the datagrid i'll 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 ?

I've controlled if all data components are not (readonly=treu).

The database is an .mdb file (access).

Edited by Jelmer

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...