C++ Builder 6 - Getting a value from a DBGrid

Login to reply to this topic.
Thu, 2006-06-01 17:00
Joined: 2006-01-12
Forum posts: 13
Hi,

How can I do the following?
I have a DBGrid and I need to get values that grid.
When I click on a cell in the grid, I need to get all values in the selected row.
If for example there are 3 columns named ID, name and age.
If I click a cell in the grid, the value for the Id is displayed in a textbox, the value for name in another one and also the value for age in another textbox.
That is I need to display individual column values for the selected row in a text box for each one.

Can anyone help me?

Thanks.
Rowin
  • Login to reply to this topic.