Code to Set and Get value for a combobox

Code to Set and Get value for a combobox

Postby sajith » Mon Mar 02, 2009 8:05 am

Hi,
code to store a Datatable object to combobox.and i want to Display "Name" and work "Id" at the background.
thanks in Advance
Regards,
Sajith
sajith
 
Posts: 110
Joined: Wed Feb 18, 2009 9:58 am
Location: India

Re: Code to Set and Get value for a combobox

Postby anserkk » Mon Mar 02, 2009 8:12 am

Could not understand your requirement clearly. If u want to display a name and return the code assosciated with the name when the user select the item from the Combobox, then Please use DbCombo instead of Combobox.

Anser
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Code to Set and Get value for a combobox

Postby sajith » Mon Mar 02, 2009 8:19 am

thanks
Regards ,
Sajith
sajith
 
Posts: 110
Joined: Wed Feb 18, 2009 9:58 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 86 guests