Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Merging fields in Dataviews
Message
From
07/02/2006 16:43:41
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Merging fields in Dataviews
Environment versions
Environment:
VB.NET 1.1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01094457
Message ID:
01094457
Views:
57
Hello,

In one instance in my application, I wanted to merge 2 fields in my combobox for display purposes, so I modified my SQL statement like so:
SELECT Customer.*, [CustomerName]+' - '+[CustomerContact] AS CustomerDisplay FROM Customer
I created a dataview from this table and bound my combobox to it.

The question I have is did I have to do that in the SQL statement? Do Dataviews have the functionality to accomplish that?

TIA,
MAC
Very fitting: http://xkcd.com/386/
Next
Reply
Map
View

Click here to load this message in the networking platform