Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Merging fields in Dataviews
Message
De
07/02/2006 16:43:41
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Merging fields in Dataviews
Versions des environnements
Environment:
VB.NET 1.1
Database:
MS SQL Server
Divers
Thread ID:
01094457
Message ID:
01094457
Vues:
56
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/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform