Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET 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 January 3rd, 2006, 08:03 AM
Authorized User
 
Join Date: Dec 2005
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default Combining Two DataTextField's for a DropDownBox

 Hi folks,

I know this is a really simple question but how do you combine two DataTextField's into one??

Exmaple:

Say I have a drop down box and in there the Text Value is "Joe Bloggs"), but in my data reader is pulls back two fields FirstName and SurName.

In the DataTextField property of the DropDownBox how do I set the property to use two fields??

Thanks

 
Old January 3rd, 2006, 12:34 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Cross post:

http://p2p.wrox.com/topic.asp?TOPIC_ID=38204





Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining PHP and C++ Waffles C++ Programming 0 August 3rd, 2007 01:20 PM
Iterating through DropDownBox rsearing ASP.NET 2.0 Basics 8 January 3rd, 2007 04:35 PM
Problem with dropdownbox angshujit ASP.NET 1.0 and 1.1 Basics 7 December 28th, 2006 09:39 AM
DropDownBox inside FormsView - Urgent shaly ASP.NET 2.0 Basics 1 December 6th, 2006 05:52 PM
Combining Two DataTextField's for a DropDownBox testsubject VB.NET 1 January 3rd, 2006 12:32 PM





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