|
-
Jun 15th, 2005, 05:50 PM
#1
Frenzied Member
Re: combo box, 2 columns
 Originally Posted by Hack
Concantanate them using the & character.
you can't use the & concat method in c#. you have to use +
You really should be concating them at the database anyway...less load on your app . like this:
Code:
SELECT field1 + ' ' + field2 AS BothFields FROM TABLE
then, when you bind (i'm assuming you're binding), bind to 'BothFields'
-
Jun 17th, 2005, 06:33 AM
#2
Thread Starter
Frenzied Member
Re: combo box, 2 columns
Thanks everyone,
Problem solved.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|