Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
|
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 1st, 2006, 10:55 AM
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





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to edit in dbgrid? d_saikrishnan Pro VB 6 0 May 12th, 2006 10:51 AM
How to edit in dbgrid? d_saikrishnan Beginning VB 6 0 May 12th, 2006 10:49 AM
C++ Builder 6 - DBGrid rowin C++ Programming 0 April 13th, 2006 06:39 AM
Select DBGrid display Mark56 VB How-To 0 May 4th, 2005 09:37 AM
True DBGrid 8.0 KalluMama Pro VB 6 1 August 10th, 2004 01:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.