Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmPicker
Message
De
22/07/2010 17:07:42
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
22/07/2010 09:44:51
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
01473463
Message ID:
01473534
Vues:
37
>Hello. I have an Employees table with FirstName and LastName fields. I have a stored procedure that splits the "Name" parameter to find the Employee by FirstName and LastName. The tutorial shows how to use the picker with a single field "CustomerID". Does anyone have an example of the picker where they use 2 fields like FirstName and LastName?
>
>Thanks.

You could add a read only property to your entity to display the FullName and then set that as the display property to bind to.
public string FullName
{
     get     { return this.FirstName + " " + this.LastName; }
}
Tim
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform