View Single Post
  #1 (permalink)  
Old June 1st, 2006, 10:55 AM
rowin rowin is offline
Authorized User
 
Join Date: Jan 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default C++ Builder 6 - Getting a value from a DBGRid

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

Reply With Quote