Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > BOOK: Visual Basic 2005 Programmer's Reference
|
BOOK: Visual Basic 2005 Programmer's Reference
This is the forum to discuss the Wrox book Visual Basic 2005 Programmer's Reference by Rod Stephens; ISBN: 9780764571985
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Visual Basic 2005 Programmer's Reference 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
 
Old October 29th, 2006, 04:37 AM
Registered User
 
Join Date: Oct 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to transfer a data from combobox to a label?

dear all,
I'm a newbie in using vb2005.
I've bound the data from a database table to combobox.
Now I would like to copy the selected text from the combobox
to a textbox.
Pls ahelp.

 
Old October 29th, 2006, 07:26 PM
Rod Stephens's Avatar
Wrox Author
 
Join Date: Jan 2006
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

Try something like:

    the_text_box.Text = the_combo_box.Text

Rod

Rod
RodStephens@vb-helper.com
Author of "Visual Basic 2005 Programmer's Reference"
http://www.vb-helper.com/vb_prog_ref.htm

Sign up for the free VB Helper Newsletters at http://www.vb-helper.com/newsletter.html





Similar Threads
Thread Thread Starter Forum Replies Last Post
DATA TRANSFER vish_vj ADO.NET 1 March 7th, 2008 01:16 PM
Cannot transfer data between different Forms Logically_Yours .NET Framework 1.x 2 September 15th, 2006 12:09 AM
Transfer Sql data into combobox list vb.net prem54 VS.NET 2002/2003 0 April 5th, 2006 05:04 AM
Transfer data mepancha SQL Server 2000 4 March 24th, 2005 04:29 PM
Data Transfer psingh SQL Server 2000 8 June 9th, 2003 06:25 PM





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