Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

retrieving values from a AxMSFlexGrid

Status
Not open for further replies.

prischenkoOOO

Programmer
Apr 6, 2005
5
UA
I am using a AxMSFlexGrid to display information which is working ok

what i want to do is that When the user selects/clicks on an item/row in the DG I want it to populate textboxes with the values in the row. how would i go about doing so?
 
First off, I would recommend being very careful using VB6 COM objects in .Net. The Flex Grid in particular has an evil flaw dealing with it license, or lack there of on machines that don't have VB6 installed.

As for what you are looking for, you could bind the flex grid and the text boxes to an ADO recordset. or you could use the click event to run a query to populate the text boxes.

I would recommend that you look into using the newer .Net tools. Either the datagrid that comes with .Net or one of the 3rd party tools like the C1 Flex Grid. Also, moving to ADO.Net (while painful) would be a wise decision as well.

-Rick

----------------------

[monkey] I believe in killer coding ninja monkeys.[monkey]
[banghead]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top