Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Object Property
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01469408
Message ID:
01474673
Vues:
34
Did you ever figure this out? Are you just wanting to display the concatenated names in a grid or a text box? Depending on what you need, there are a couple of ways to accomplish it. One is to have a control that is not bound to anything and you can simply set the text to the concatenated string. If you want to show it in a grid, you can create a separate column with the calculated value without having it defined in the business object entity. When an employee table entry is changed, you will need to call your BO method again in order to get the new concatenated value to display correctly in the grid. Of course, you may need to reset the current position in the grid, too.

>Hello.
> I have an Employee table with 2 fields. FirstName and LastName. I want to add a property to the partial Employee business object to concatinate the FirstName and LastName, but when I concatinate the FirstName and LastName it send the Employee business object into an "Edit" mode and asks if I want to save the changes when I close the form or move to another record.
>
> How can I update this property without sending the Employee business object into an "Edit" mode?
>
> Thanks.
>
> -Bob
Linda Harmes
HiBit Technologies, Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform